Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_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.0008698/0.0008696, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001002/0.001002, allocations: 172.7 kB / 15.95 MB, free: 208 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.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.462/2.462, allocations: 409.4 MB / 0.684 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 12 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6659, allocations: 146.8 MB / 0.9811 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1549/0.8209, allocations: 151.7 MB / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.8384, allocations: 15.95 MB / 1.145 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.8396, allocations: 23.88 kB / 1.145 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.8407, allocations: 377.3 kB / 1.145 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.8444, allocations: 1.324 MB / 1.147 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.8475, allocations: 1.111 MB / 1.148 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003007/0.8505, allocations: 2.559 MB / 1.15 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.8525, allocations: 1.507 MB / 1.152 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.8542, allocations: 0.9882 MB / 1.153 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.8552, allocations: 0.8438 MB / 1.153 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.8554, allocations: 48 kB / 1.153 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.8577, allocations: 1.018 MB / 1.154 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.8583, allocations: 0.5878 MB / 1.155 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.8587, allocations: 416.4 kB / 1.155 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.8614, allocations: 2.634 MB / 1.158 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8615, allocations: 0 / 1.158 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8615, allocations: 0 / 1.158 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.8615, allocations: 0 / 1.158 GB, free: 0.5898 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003741/0.8652, allocations: 2.422 MB / 1.16 GB, free: 14.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8653, allocations: 12.03 kB / 1.16 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000271/0.8656, allocations: 248.9 kB / 1.161 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.869, allocations: 0.5706 MB / 1.161 GB, free: 13.26 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.8728, allocations: 3.321 MB / 1.164 GB, free: 9.891 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.8729, allocations: 127.4 kB / 1.165 GB, free: 9.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.8731, allocations: 168 kB / 1.165 GB, free: 9.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.8762, allocations: 1.937 MB / 1.167 GB, free: 7.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.8763, allocations: 0 / 1.167 GB, free: 7.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.8764, allocations: 76 kB / 1.167 GB, free: 7.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.8765, allocations: 43.94 kB / 1.167 GB, free: 7.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/0.8798, allocations: 2.085 MB / 1.169 GB, free: 5.406 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.008922/0.8887, allocations: 6.264 MB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.892, allocations: 2.089 MB / 1.177 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.8932, allocations: 0.7608 MB / 1.178 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005629/0.8938, allocations: 429.6 kB / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/0.8954, allocations: 1.005 MB / 1.179 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.498e-06/0.8954, allocations: 0 / 1.179 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.00614/0.9016, allocations: 2.981 MB / 1.182 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/0.9017, allocations: 197.2 kB / 1.182 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004847/0.9066, allocations: 4.045 MB / 1.186 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/0.9068, allocations: 57.7 kB / 1.186 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007908/0.9076, allocations: 0.8866 MB / 1.187 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004333/0.9081, allocations: 481 kB / 1.187 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.9082, allocations: 24 kB / 1.187 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9083, allocations: 353.9 kB / 1.188 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.9094, allocations: 0.5687 MB / 1.188 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.9107, allocations: 0.7938 MB / 1.189 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.9119, allocations: 0.6466 MB / 1.19 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.9119, allocations: 7.938 kB / 1.19 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003612/0.9155, allocations: 1.76 MB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.9156, allocations: 8 kB / 1.191 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9156, allocations: 0 / 1.191 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000976/0.9166, allocations: 224.1 kB / 1.192 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.918, allocations: 323.6 kB / 1.192 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.9234, allocations: 6.803 MB / 1.199 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.9248, allocations: 183.7 kB / 1.199 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.925, allocations: 48.2 kB / 1.199 GB, free: 5.121 MB / 0.9512 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.0009643/0.9259, allocations: 493.5 kB / 1.199 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.9263, allocations: 193.6 kB / 1.2 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.9308, allocations: 2.149 MB / 1.202 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.9308, allocations: 16 kB / 1.202 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.9308, allocations: 4 kB / 1.202 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.9308, allocations: 7.969 kB / 1.202 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/0.9375, allocations: 4.098 MB / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9375, allocations: 0 / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.9389, allocations: 331.5 kB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008897/0.9398, allocations: 212.1 kB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.94, allocations: 43.95 kB / 1.206 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/0.9455, allocations: 6.819 MB / 1.213 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9455, allocations: 3.938 kB / 1.213 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.9494, allocations: 2.003 MB / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009776/0.9504, allocations: 0.5176 MB / 1.215 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.9508, allocations: 28 kB / 1.215 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.9522, allocations: 162 kB / 1.216 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.9524, allocations: 109.1 kB / 1.216 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.9526, allocations: 79.94 kB / 1.216 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003353/0.9559, allocations: 3.099 MB / 1.219 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9559, allocations: 0 / 1.219 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001819/0.9578, allocations: 0.6665 MB / 1.219 GB, free: 15.27 MB / 0.9825 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.005708/0.9635, allocations: 3.2 MB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003269/0.9668, allocations: 2.043 MB / 1.225 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.9668, allocations: 0.5625 kB / 1.225 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.9688, allocations: 1.422 MB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.9713, allocations: 0.4901 MB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03098/1.002, allocations: 19.2 MB / 1.245 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.004, allocations: 1.525 MB / 1.247 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002251/1.006, allocations: 0.5403 MB / 1.247 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.008, allocations: 0.9014 MB / 1.248 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.008, allocations: 0 / 1.248 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6674/1.675, allocations: 48.15 MB / 1.295 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.675, allocations: 265.1 kB / 1.295 GB, free: 229 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.774, allocations: 0 / 1.295 GB, free: 229 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat