Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001066/0.001066, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001077/0.001077, allocations: 190 kB / 17.35 MB, free: 5.633 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.696, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004216/0.7002, allocations: 4.359 MB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003768/0.704, allocations: 2.933 MB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/0.7043, allocations: 20.59 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.7052, allocations: 366.9 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.7063, allocations: 0.6496 MB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.7077, allocations: 0.6346 MB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.7097, allocations: 1.89 MB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.71, allocations: 178.2 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007653/0.7108, allocations: 0.6028 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.7117, allocations: 0.6589 MB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.7118, allocations: 75.78 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000736/0.7126, allocations: 417.7 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005227/0.7131, allocations: 460.9 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.7137, allocations: 0.6027 MB / 1.102 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.7154, allocations: 1.468 MB / 1.104 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7155, allocations: 4 kB / 1.104 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7155, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.7155, allocations: 0 / 1.104 GB, free: 13.02 MB / 0.8731 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.002827/0.7183, allocations: 1.618 MB / 1.105 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.7184, allocations: 8.484 kB / 1.105 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.7186, allocations: 132.3 kB / 1.105 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7199, allocations: 0.8489 MB / 1.106 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.72, allocations: 44.19 kB / 1.106 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.7201, allocations: 61.2 kB / 1.106 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009075/0.721, allocations: 0.6146 MB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.721, allocations: 1.094 kB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.721, allocations: 15.09 kB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.7211, allocations: 15.06 kB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.7218, allocations: 0.5594 MB / 1.107 GB, free: 10.95 MB / 0.8731 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.004477/0.7263, allocations: 3.272 MB / 1.111 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.7281, allocations: 0.845 MB / 1.111 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.7287, allocations: 362.1 kB / 1.112 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.017e-05/0.7288, allocations: 29.11 kB / 1.112 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.7288, allocations: 38.12 kB / 1.112 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.7288, allocations: 0 / 1.112 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.002025/0.7308, allocations: 1.184 MB / 1.113 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.7309, allocations: 59.5 kB / 1.113 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.7328, allocations: 1.227 MB / 1.114 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.7329, allocations: 40.33 kB / 1.114 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.7332, allocations: 460.5 kB / 1.115 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.7334, allocations: 178.1 kB / 1.115 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.7337, allocations: 212.3 kB / 1.115 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.7338, allocations: 352.6 kB / 1.115 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/0.7346, allocations: 0.6402 MB / 1.116 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.7357, allocations: 0.9739 MB / 1.117 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.7374, allocations: 1.585 MB / 1.118 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.7374, allocations: 7.125 kB / 1.118 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002373/0.7398, allocations: 1.781 MB / 1.12 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7398, allocations: 10.39 kB / 1.12 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.7399, allocations: 15.81 kB / 1.12 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.7401, allocations: 45.31 kB / 1.12 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.7412, allocations: 273.9 kB / 1.121 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.7448, allocations: 6.836 MB / 1.127 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.7458, allocations: 125.8 kB / 1.127 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.7458, allocations: 40.09 kB / 1.127 GB, free: 13.68 MB / 0.8887 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.0003872/0.7462, allocations: 296.3 kB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.7464, allocations: 115.9 kB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.7476, allocations: 0.8479 MB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.7476, allocations: 2.391 kB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7477, allocations: 0 / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.7481, allocations: 257.9 kB / 1.129 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.7483, allocations: 15.8 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.7489, allocations: 24.38 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.749, allocations: 33.42 kB / 1.129 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001905/0.7509, allocations: 1.004 MB / 1.13 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001752/0.7526, allocations: 1.482 MB / 1.131 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004683/0.7531, allocations: 373 kB / 1.132 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001205/0.7543, allocations: 0.8161 MB / 1.133 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of Backend: time 2.7e-07/0.7543, allocations: 0 / 1.133 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003164/0.7575, allocations: 1.461 MB / 1.134 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003891/0.7614, allocations: 2.938 MB / 1.137 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of Templates: time 0.02754/0.789, allocations: 15.24 MB / 1.152 GB, free: 4.777 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches