Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.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.1-maint.9.1.x/package.mo", uses=false) 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) 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,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside",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.00128/0.00128, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001537/0.001537, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6712, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1771/0.8484, allocations: 147.1 MB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.8607, allocations: 9.295 MB / 1.106 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.8618, allocations: 23.88 kB / 1.106 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.8627, allocations: 278.3 kB / 1.107 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.8651, allocations: 0.886 MB / 1.107 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.8681, allocations: 1.161 MB / 1.109 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.8698, allocations: 1.369 MB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.8711, allocations: 1.05 MB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.873, allocations: 1.035 MB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000635/0.8736, allocations: 0.5327 MB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.8737, allocations: 44 kB / 1.113 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.8753, allocations: 0.745 MB / 1.113 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.8756, allocations: 302.9 kB / 1.114 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.8759, allocations: 280.9 kB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.8775, allocations: 1.687 MB / 1.115 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.8776, allocations: 0 / 1.115 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8776, allocations: 4 kB / 1.116 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.8776, allocations: 4 kB / 1.116 GB, free: 9.891 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002671/0.8803, allocations: 1.573 MB / 1.117 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.8803, allocations: 8.031 kB / 1.117 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.8805, allocations: 185.3 kB / 1.117 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.8826, allocations: 369.8 kB / 1.118 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.884, allocations: 0.9181 MB / 1.118 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.8841, allocations: 86.33 kB / 1.119 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.8842, allocations: 119.9 kB / 1.119 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.8863, allocations: 1.283 MB / 1.12 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.8863, allocations: 3.984 kB / 1.12 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.8865, allocations: 52 kB / 1.12 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.8865, allocations: 28 kB / 1.12 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.8888, allocations: 1.453 MB / 1.121 GB, free: 3.641 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.005671/0.8944, allocations: 3.883 MB / 1.125 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.8967, allocations: 1.237 MB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/0.8973, allocations: 267.1 kB / 1.127 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.8983, allocations: 0.6489 MB / 1.127 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=106): time 2.585e-06/0.8983, allocations: 0 / 1.127 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=106): time 0.003772/0.9021, allocations: 1.611 MB / 1.129 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.9022, allocations: 192.9 kB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.9033, allocations: 0.875 MB / 1.13 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.9034, allocations: 49.7 kB / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.9038, allocations: 0.5276 MB / 1.13 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.9041, allocations: 350.9 kB / 1.131 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.9042, allocations: 20 kB / 1.131 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9043, allocations: 341.9 kB / 1.131 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.905, allocations: 365.7 kB / 1.132 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.9059, allocations: 0.4971 MB / 1.132 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/0.9067, allocations: 418.9 kB / 1.132 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9067, allocations: 7.938 kB / 1.132 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002287/0.909, allocations: 1.11 MB / 1.133 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.909, allocations: 4 kB / 1.133 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.909, allocations: 4 kB / 1.133 GB, free: 6.875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.9096, allocations: 84.86 kB / 1.134 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/0.9106, allocations: 223.7 kB / 1.134 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.9125, allocations: 1.551 MB / 1.135 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/0.9134, allocations: 139 kB / 1.135 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.9135, allocations: 39.98 kB / 1.135 GB, free: 4.707 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000555/0.9141, allocations: 329.8 kB / 1.136 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.9143, allocations: 118.5 kB / 1.136 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.9175, allocations: 1.517 MB / 1.137 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.9175, allocations: 12 kB / 1.137 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.9175, allocations: 0 / 1.137 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.9175, allocations: 3.984 kB / 1.137 GB, free: 2.703 MB / 0.8887 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 postOpt removeSimpleEquations (simulation): time 0.004635/0.9222, allocations: 2.878 MB / 1.14 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9222, allocations: 8.203 kB / 1.14 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/0.9231, allocations: 195.8 kB / 1.14 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005032/0.9236, allocations: 96.7 kB / 1.14 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.9237, allocations: 31.98 kB / 1.141 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.9254, allocations: 1.575 MB / 1.142 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9254, allocations: 8 kB / 1.142 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.9287, allocations: 1.974 MB / 1.144 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.9293, allocations: 363.2 kB / 1.144 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.9294, allocations: 24 kB / 1.144 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.9304, allocations: 114.3 kB / 1.144 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.9306, allocations: 88.88 kB / 1.145 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/0.9307, allocations: 47.97 kB / 1.145 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007726/0.9314, allocations: 0.6144 MB / 1.145 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9314, allocations: 0 / 1.145 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001092/0.9325, allocations: 443.1 kB / 1.146 GB, free: 9.898 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004993/0.9375, allocations: 3.67 MB / 1.149 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001969/0.9395, allocations: 1.062 MB / 1.15 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9395, allocations: 3.938 kB / 1.15 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.9407, allocations: 0.6647 MB / 1.151 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.9426, allocations: 471.3 kB / 1.151 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.9559, allocations: 8.143 MB / 1.159 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.9566, allocations: 1.191 MB / 1.16 GB, free: 10.46 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001271/0.9579, allocations: 373.6 kB / 1.161 GB, free: 10.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/0.9586, allocations: 0.511 MB / 1.161 GB, free: 9.586 MB / 0.92 GB Notification: Performance of SimCode: time 3.71e-07/0.9586, allocations: 0 / 1.161 GB, free: 9.586 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/1.01, allocations: 32.28 MB / 1.193 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.01, allocations: 246.5 kB / 1.193 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/3.591, allocations: 0 / 1.193 GB, free: 9.512 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat does not exist to compare? outputFormat=mat