Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 108.1 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 188.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.11 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6618, allocations: 159.1 MB / 1.221 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005027/0.6669, allocations: 4.363 MB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004365/0.6712, allocations: 2.947 MB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.6716, allocations: 23.88 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.6725, allocations: 359.6 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.6736, allocations: 0.6454 MB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.675, allocations: 0.6424 MB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.6769, allocations: 1.874 MB / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.6772, allocations: 181.9 kB / 1.232 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000906/0.6782, allocations: 0.5957 MB / 1.232 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009492/0.6791, allocations: 0.6615 MB / 1.233 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.6793, allocations: 76 kB / 1.233 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.68, allocations: 419.4 kB / 1.233 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.6805, allocations: 470.7 kB / 1.234 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006894/0.6812, allocations: 0.5984 MB / 1.234 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.6827, allocations: 1.464 MB / 1.236 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6827, allocations: 0 / 1.236 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6827, allocations: 0 / 1.236 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.6828, allocations: 0 / 1.236 GB, free: 3.047 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003095/0.6859, allocations: 1.616 MB / 1.237 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6859, allocations: 12.62 kB / 1.237 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.6862, allocations: 131.3 kB / 1.237 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.6876, allocations: 0.8426 MB / 1.238 GB, free: 352 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.6876, allocations: 45.38 kB / 1.238 GB, free: 308 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.6877, allocations: 60.38 kB / 1.238 GB, free: 248 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/0.6886, allocations: 0.6217 MB / 1.239 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6887, allocations: 0 / 1.239 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.6887, allocations: 16 kB / 1.239 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6887, allocations: 8 kB / 1.239 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007715/0.6895, allocations: 0.5582 MB / 1.24 GB, free: 15.02 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/0.6939, allocations: 3.278 MB / 1.243 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6953, allocations: 0.8633 MB / 1.244 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.6957, allocations: 361.4 kB / 1.244 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.969e-05/0.6958, allocations: 28.3 kB / 1.244 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.6958, allocations: 42.94 kB / 1.244 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.735e-06/0.6958, allocations: 0 / 1.244 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.001787/0.6976, allocations: 1.168 MB / 1.245 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.6977, allocations: 59.39 kB / 1.245 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.6993, allocations: 1.227 MB / 1.246 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.6994, allocations: 45.7 kB / 1.246 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.6998, allocations: 468.7 kB / 1.247 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.6999, allocations: 165.6 kB / 1.247 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.7002, allocations: 214.4 kB / 1.247 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7004, allocations: 349.9 kB / 1.248 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008484/0.7012, allocations: 0.6426 MB / 1.248 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.7024, allocations: 0.9708 MB / 1.249 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.7043, allocations: 1.586 MB / 1.251 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.7043, allocations: 11.92 kB / 1.251 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002412/0.7067, allocations: 1.779 MB / 1.253 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.7068, allocations: 12 kB / 1.253 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.7068, allocations: 12 kB / 1.253 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.707, allocations: 44.83 kB / 1.253 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.7082, allocations: 267.6 kB / 1.253 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/0.7122, allocations: 6.844 MB / 1.26 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009887/0.7132, allocations: 134.6 kB / 1.26 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.7133, allocations: 36 kB / 1.26 GB, free: 9.473 MB / 0.9825 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004306/0.7138, allocations: 310.1 kB / 1.26 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.714, allocations: 110.5 kB / 1.26 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.7152, allocations: 0.8414 MB / 1.261 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.7153, allocations: 3.984 kB / 1.261 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.7153, allocations: 0 / 1.261 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.7157, allocations: 259.4 kB / 1.261 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.7159, allocations: 23.92 kB / 1.261 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/0.7165, allocations: 23.97 kB / 1.261 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.7166, allocations: 35.89 kB / 1.261 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00187/0.7185, allocations: 0.9891 MB / 1.262 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00168/0.7201, allocations: 1.484 MB / 1.264 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004404/0.7206, allocations: 371.8 kB / 1.264 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001154/0.7218, allocations: 0.8271 MB / 1.265 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of Backend: time 4.31e-07/0.7218, allocations: 0 / 1.265 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002995/0.7248, allocations: 1.445 MB / 1.266 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003937/0.7287, allocations: 2.952 MB / 1.269 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.02513/0.7539, allocations: 15.25 MB / 1.284 GB, free: 0.5469 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches