Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 192 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.271/2.271, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.5001, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1615/0.6616, allocations: 175.2 MB / 1.121 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.6785, allocations: 15.54 MB / 1.136 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.6793, allocations: 31.81 kB / 1.136 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6805, allocations: 0.5741 MB / 1.137 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.6835, allocations: 1.499 MB / 1.138 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.6867, allocations: 1.658 MB / 1.14 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.6889, allocations: 2.735 MB / 1.142 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.6908, allocations: 1.902 MB / 1.144 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.6933, allocations: 1.351 MB / 1.145 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000952/0.6942, allocations: 1.019 MB / 1.146 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.6945, allocations: 200 kB / 1.147 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.6964, allocations: 1.306 MB / 1.148 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004374/0.6969, allocations: 0.5686 MB / 1.149 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.6977, allocations: 1.003 MB / 1.149 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.7002, allocations: 2.905 MB / 1.152 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.7003, allocations: 0 / 1.152 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7003, allocations: 0 / 1.152 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.7003, allocations: 0 / 1.152 GB, free: 1.59 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003464/0.7038, allocations: 2.279 MB / 1.155 GB, free: 15.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.7038, allocations: 12.03 kB / 1.155 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.704, allocations: 240.3 kB / 1.155 GB, free: 14.99 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.7071, allocations: 469 kB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7085, allocations: 1.093 MB / 1.156 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.7086, allocations: 123.2 kB / 1.156 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.7088, allocations: 156 kB / 1.157 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.7115, allocations: 1.792 MB / 1.158 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.7115, allocations: 0 / 1.158 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.7117, allocations: 68 kB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.7117, allocations: 47.98 kB / 1.158 GB, free: 11.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.7147, allocations: 1.776 MB / 1.16 GB, free: 9.352 MB / 0.92 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.007126/0.7218, allocations: 5.89 MB / 1.166 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.7244, allocations: 1.557 MB / 1.167 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009792/0.7254, allocations: 0.5628 MB / 1.168 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/0.7262, allocations: 0.8827 MB / 1.169 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.7276, allocations: 0.8011 MB / 1.17 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 2.395e-06/0.7276, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.004549/0.7321, allocations: 1.894 MB / 1.171 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.7322, allocations: 192.9 kB / 1.172 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.7333, allocations: 0.9837 MB / 1.173 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.471e-05/0.7334, allocations: 49.7 kB / 1.173 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.7339, allocations: 0.6685 MB / 1.173 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.7342, allocations: 409.9 kB / 1.174 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.7345, allocations: 218.8 kB / 1.174 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7346, allocations: 345.9 kB / 1.174 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008778/0.7355, allocations: 438.4 kB / 1.175 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.7365, allocations: 0.5897 MB / 1.175 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.7384, allocations: 1.019 MB / 1.176 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7384, allocations: 0 / 1.176 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0028/0.7413, allocations: 1.301 MB / 1.178 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7413, allocations: 4.156 kB / 1.178 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7413, allocations: 11.94 kB / 1.178 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.7419, allocations: 88.77 kB / 1.178 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7432, allocations: 279.6 kB / 1.178 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.7452, allocations: 1.65 MB / 1.179 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/0.7462, allocations: 135 kB / 1.18 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.7463, allocations: 47.97 kB / 1.18 GB, free: 4.465 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005146/0.7468, allocations: 377.9 kB / 1.18 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.7471, allocations: 142.2 kB / 1.18 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.7506, allocations: 1.614 MB / 1.182 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.7506, allocations: 12 kB / 1.182 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.7506, allocations: 0 / 1.182 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.7507, allocations: 11.97 kB / 1.182 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004934/0.7556, allocations: 3.161 MB / 1.185 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7556, allocations: 3.938 kB / 1.185 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.7569, allocations: 263.7 kB / 1.185 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/0.7574, allocations: 76.78 kB / 1.185 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/0.7574, allocations: 35.97 kB / 1.185 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.7592, allocations: 1.67 MB / 1.187 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7592, allocations: 4.062 kB / 1.187 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.7633, allocations: 2.184 MB / 1.189 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005087/0.7638, allocations: 406.9 kB / 1.189 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.764, allocations: 28 kB / 1.189 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7651, allocations: 89.52 kB / 1.189 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.7653, allocations: 93.19 kB / 1.19 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.7654, allocations: 59.95 kB / 1.19 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000837/0.7663, allocations: 0.6802 MB / 1.19 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7663, allocations: 0 / 1.19 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001043/0.7673, allocations: 0.5297 MB / 1.191 GB, free: 8.777 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00568/0.773, allocations: 3.338 MB / 1.194 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003864/0.7769, allocations: 1.666 MB / 1.196 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.7769, allocations: 4.438 kB / 1.196 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.7783, allocations: 0.7636 MB / 1.196 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.7805, allocations: 0.5534 MB / 1.197 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.7975, allocations: 10.82 MB / 1.208 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.7983, allocations: 1.307 MB / 1.209 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001531/0.7998, allocations: 438.8 kB / 1.209 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/0.8007, allocations: 0.6632 MB / 1.21 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.8007, allocations: 4 kB / 1.21 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06166/0.8624, allocations: 36.34 MB / 1.245 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.41, allocations: 64 / 1.245 GB, free: 1.043 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches