Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData",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.001098/0.001098, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001297/0.001297, allocations: 168.7 kB / 15.95 MB, free: 204 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.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.41 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.273/2.273, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 11.94 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6336/0.6339, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1715/0.8054, allocations: 151.7 MB / 1.102 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.8255, allocations: 15.94 MB / 1.118 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.8271, allocations: 27.81 kB / 1.118 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.8289, allocations: 389.2 kB / 1.118 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.8344, allocations: 1.315 MB / 1.119 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.8377, allocations: 1.109 MB / 1.12 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003217/0.8409, allocations: 2.563 MB / 1.123 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.8431, allocations: 1.496 MB / 1.124 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.8451, allocations: 0.9882 MB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.8464, allocations: 0.8477 MB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.8466, allocations: 52 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.8491, allocations: 1.01 MB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000659/0.8498, allocations: 0.5917 MB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.8503, allocations: 412.3 kB / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.8535, allocations: 2.638 MB / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.8535, allocations: 3.984 kB / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8535, allocations: 0 / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.227e-05/0.8536, allocations: 0 / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004414/0.858, allocations: 2.414 MB / 1.133 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.858, allocations: 11.97 kB / 1.133 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003883/0.8584, allocations: 248.9 kB / 1.133 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.8619, allocations: 0.5784 MB / 1.134 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/0.8661, allocations: 3.321 MB / 1.137 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.8662, allocations: 131.4 kB / 1.137 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.8664, allocations: 168 kB / 1.137 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/0.8697, allocations: 1.929 MB / 1.139 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.8697, allocations: 0 / 1.139 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.8699, allocations: 76 kB / 1.139 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.8699, allocations: 43.98 kB / 1.139 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.8732, allocations: 2.089 MB / 1.141 GB, free: 15.38 MB / 0.9044 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.009713/0.883, allocations: 6.26 MB / 1.148 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.8864, allocations: 2.083 MB / 1.15 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.8877, allocations: 0.7569 MB / 1.15 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/0.8883, allocations: 437.6 kB / 1.151 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.89, allocations: 1.001 MB / 1.152 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.527e-06/0.89, allocations: 0 / 1.152 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.006489/0.8965, allocations: 2.977 MB / 1.155 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.8967, allocations: 201.2 kB / 1.155 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004831/0.9015, allocations: 4.045 MB / 1.159 GB, free: 13.03 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003738/0.9019, allocations: 57.7 kB / 1.159 GB, free: 12.97 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007777/0.9027, allocations: 0.8905 MB / 1.16 GB, free: 12.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/0.9032, allocations: 484.9 kB / 1.16 GB, free: 11.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.9033, allocations: 24 kB / 1.16 GB, free: 11.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9035, allocations: 353.9 kB / 1.161 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.9046, allocations: 0.5726 MB / 1.161 GB, free: 10.64 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.9057, allocations: 0.786 MB / 1.162 GB, free: 9.797 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.9069, allocations: 0.6506 MB / 1.162 GB, free: 9.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.9069, allocations: 0 / 1.162 GB, free: 9.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003656/0.9106, allocations: 1.768 MB / 1.164 GB, free: 7.352 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.9106, allocations: 8.094 kB / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9106, allocations: 0 / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009536/0.9116, allocations: 220 kB / 1.164 GB, free: 7.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.913, allocations: 323.6 kB / 1.165 GB, free: 6.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.9185, allocations: 6.807 MB / 1.171 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.9204, allocations: 180 kB / 1.172 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.9205, allocations: 47.97 kB / 1.172 GB, free: 15.1 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009515/0.9215, allocations: 485.4 kB / 1.172 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.9218, allocations: 189.7 kB / 1.172 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.9261, allocations: 2.157 MB / 1.174 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.9262, allocations: 19.95 kB / 1.174 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.9262, allocations: 0 / 1.174 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.9262, allocations: 15.91 kB / 1.174 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/0.9329, allocations: 4.091 MB / 1.178 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.933, allocations: 0 / 1.178 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.9344, allocations: 315.6 kB / 1.179 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008809/0.9353, allocations: 224 kB / 1.179 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.9354, allocations: 39.97 kB / 1.179 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/0.9405, allocations: 6.823 MB / 1.186 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9405, allocations: 8.047 kB / 1.186 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.9446, allocations: 1.995 MB / 1.188 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009709/0.9456, allocations: 0.5254 MB / 1.188 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.9458, allocations: 35.98 kB / 1.188 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.9471, allocations: 150 kB / 1.188 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.9474, allocations: 117.1 kB / 1.188 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.9476, allocations: 79.88 kB / 1.188 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003485/0.951, allocations: 3.104 MB / 1.191 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9511, allocations: 0 / 1.191 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002198/0.9533, allocations: 0.6625 MB / 1.192 GB, free: 9.246 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00553/0.9588, allocations: 3.202 MB / 1.195 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003378/0.9622, allocations: 2.043 MB / 1.197 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.9622, allocations: 4.562 kB / 1.197 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.9643, allocations: 1.418 MB / 1.199 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.9669, allocations: 499.5 kB / 1.199 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/0.9967, allocations: 19.19 MB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.9979, allocations: 1.534 MB / 1.219 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002235/1, allocations: 0.5442 MB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.001, allocations: 0.8936 MB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/1.001, allocations: 0 / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.552/1.553, allocations: 48.14 MB / 1.268 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/1.554, allocations: 272.7 kB / 1.268 GB, free: 270.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/4.607, allocations: 2.25 kB / 1.268 GB, free: 270.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat