Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 184.5 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 81.38 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.991e-06/6.031e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7061/0.9422, allocations: 158.8 MB / 1.36 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.9425, allocations: 76.33 kB / 1.36 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.1135/1.056, allocations: 31.45 MB / 1.391 GB, free: 6.535 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.331e-05/1.056, allocations: 16 kB / 1.391 GB, free: 6.52 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001666/1.058, allocations: 0.9695 MB / 1.392 GB, free: 5.551 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.058, allocations: 8.031 kB / 1.392 GB, free: 5.543 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/1.058, allocations: 110.7 kB / 1.392 GB, free: 5.434 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/1.062, allocations: 2.073 MB / 1.394 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/1.062, allocations: 8 kB / 1.394 GB, free: 3.812 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/1.062, allocations: 43.72 kB / 1.394 GB, free: 3.773 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004968/1.063, allocations: 316.8 kB / 1.395 GB, free: 3.543 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/1.063, allocations: 0.5117 MB / 1.395 GB, free: 3.09 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.063, allocations: 0 / 1.395 GB, free: 3.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/1.064, allocations: 0 / 1.395 GB, free: 3.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.064, allocations: 8 kB / 1.395 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/1.067, allocations: 3.069 MB / 1.398 GB, free: 408 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/1.068, allocations: 407.8 kB / 1.398 GB, free: 88 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/1.068, allocations: 195.8 kB / 1.399 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/1.068, allocations: 0 / 1.399 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/1.068, allocations: 37.19 kB / 1.399 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/1.068, allocations: 0 / 1.399 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0008599/1.069, allocations: 0.4928 MB / 1.399 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.069, allocations: 59.41 kB / 1.399 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.07, allocations: 1.254 MB / 1.4 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/1.071, allocations: 25.7 kB / 1.4 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/1.071, allocations: 265 kB / 1.401 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/1.071, allocations: 109.4 kB / 1.401 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/1.071, allocations: 0 / 1.401 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.071, allocations: 332.8 kB / 1.401 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/1.072, allocations: 280.8 kB / 1.401 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/1.072, allocations: 0.5735 MB / 1.402 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/1.073, allocations: 384.6 kB / 1.402 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.073, allocations: 4 kB / 1.402 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001773/1.074, allocations: 1.178 MB / 1.403 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.074, allocations: 4 kB / 1.403 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.074, allocations: 12 kB / 1.403 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/1.076, allocations: 455.2 kB / 1.404 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/1.076, allocations: 115 kB / 1.404 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/1.082, allocations: 4.67 MB / 1.409 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.084, allocations: 274.9 kB / 1.409 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/1.084, allocations: 34.31 kB / 1.409 GB, free: 7.094 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.084, allocations: 132.1 kB / 1.409 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.084, allocations: 86.88 kB / 1.409 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/1.084, allocations: 99.08 kB / 1.409 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/1.084, allocations: 4 kB / 1.409 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.085, allocations: 0 / 1.409 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.085, allocations: 3.906 kB / 1.409 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.086, allocations: 1.078 MB / 1.41 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.086, allocations: 0 / 1.41 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/1.086, allocations: 87.78 kB / 1.41 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/1.086, allocations: 43.02 kB / 1.41 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.086, allocations: 15.23 kB / 1.41 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.087, allocations: 1.444 MB / 1.412 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.088, allocations: 0 / 1.412 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009198/1.088, allocations: 0.8194 MB / 1.413 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008328/1.089, allocations: 0.9483 MB / 1.414 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/1.089, allocations: 19.77 kB / 1.414 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.09, allocations: 119.9 kB / 1.414 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/1.091, allocations: 11.98 kB / 1.414 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/1.091, allocations: 23.8 kB / 1.414 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001139/1.092, allocations: 0.9242 MB / 1.415 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001469/1.093, allocations: 0.5583 MB / 1.415 GB, free: 1.281 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003485/1.094, allocations: 228.6 kB / 1.415 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.095, allocations: 0.838 MB / 1.416 GB, free: 368 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.095, allocations: 256 / 1.416 GB, free: 368 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/1.095, allocations: 315.1 kB / 1.416 GB, free: 96 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/1.096, allocations: 237.1 kB / 1.417 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/1.1, allocations: 2.016 MB / 1.419 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.101, allocations: 1.216 MB / 1.42 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of SimCode: time 4.1e-07/1.101, allocations: 4 kB / 1.42 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.02112/1.122, allocations: 12.15 MB / 1.432 GB, free: 0.9062 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches