Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.146/2.146, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 177 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009324, allocations: 95.19 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.827e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2698, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.979/5.249, allocations: 1.938 GB / 3.15 GB, free: 391.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/5.249, allocations: 79.95 kB / 3.151 GB, free: 391.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2989/5.548, allocations: 152.7 MB / 3.3 GB, free: 236.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.853e-06/5.548, allocations: 0 / 3.3 GB, free: 236.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001219/5.548, allocations: 27.94 kB / 3.3 GB, free: 236.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002906/5.551, allocations: 1.343 MB / 3.301 GB, free: 234.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/5.551, allocations: 12.03 kB / 3.301 GB, free: 234.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003147/5.552, allocations: 139.7 kB / 3.301 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/5.554, allocations: 270.2 kB / 3.301 GB, free: 234.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/5.555, allocations: 0.8109 MB / 3.302 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/5.555, allocations: 74 kB / 3.302 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/5.555, allocations: 91.94 kB / 3.302 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/5.557, allocations: 0.9849 MB / 3.303 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/5.557, allocations: 0 / 3.303 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/5.557, allocations: 40 kB / 3.303 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/5.557, allocations: 20 kB / 3.303 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/5.559, allocations: 1.187 MB / 3.305 GB, free: 231.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004705/5.563, allocations: 3.137 MB / 3.308 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/5.565, allocations: 0.9458 MB / 3.309 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/5.565, allocations: 360.7 kB / 3.309 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/5.565, allocations: 137.9 kB / 3.309 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006925/5.566, allocations: 0.5012 MB / 3.309 GB, free: 225.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 3.336e-06/5.566, allocations: 0 / 3.309 GB, free: 225.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001907/5.568, allocations: 0.8794 MB / 3.31 GB, free: 225 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/5.568, allocations: 244.1 kB / 3.311 GB, free: 224.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/5.569, allocations: 0.8011 MB / 3.311 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.001e-05/5.569, allocations: 41.7 kB / 3.311 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/5.569, allocations: 444.4 kB / 3.312 GB, free: 223.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/5.57, allocations: 287.8 kB / 3.312 GB, free: 223.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/5.57, allocations: 16 kB / 3.312 GB, free: 223.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/5.57, allocations: 334 kB / 3.312 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/5.57, allocations: 261.5 kB / 3.313 GB, free: 222.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/5.571, allocations: 399.6 kB / 3.313 GB, free: 222.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/5.571, allocations: 317.9 kB / 3.313 GB, free: 221.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/5.571, allocations: 7.938 kB / 3.313 GB, free: 221.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001692/5.573, allocations: 0.8716 MB / 3.314 GB, free: 220.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/5.573, allocations: 8 kB / 3.314 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/5.573, allocations: 0 / 3.314 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/5.573, allocations: 121.6 kB / 3.314 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/5.574, allocations: 175.8 kB / 3.315 GB, free: 220.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/5.576, allocations: 2.85 MB / 3.317 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/5.577, allocations: 107.3 kB / 3.317 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/5.577, allocations: 43.92 kB / 3.317 GB, free: 217.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002023/5.578, allocations: 147.3 kB / 3.318 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/5.578, allocations: 94.88 kB / 3.318 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/5.58, allocations: 1.188 MB / 3.319 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/5.58, allocations: 8 kB / 3.319 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/5.58, allocations: 0 / 3.319 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/5.58, allocations: 3.984 kB / 3.319 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/5.584, allocations: 2.268 MB / 3.321 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/5.584, allocations: 0 / 3.321 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/5.584, allocations: 195.8 kB / 3.321 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/5.585, allocations: 113.6 kB / 3.321 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/5.585, allocations: 27.97 kB / 3.321 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/5.587, allocations: 2.879 MB / 3.324 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/5.587, allocations: 0 / 3.324 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/5.589, allocations: 1.063 MB / 3.325 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006043/5.589, allocations: 343.4 kB / 3.326 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/5.59, allocations: 20 kB / 3.326 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/5.59, allocations: 87.92 kB / 3.326 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/5.591, allocations: 72.8 kB / 3.326 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/5.591, allocations: 43.97 kB / 3.326 GB, free: 208.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008589/5.592, allocations: 0.6475 MB / 3.326 GB, free: 207.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/5.592, allocations: 0 / 3.326 GB, free: 207.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00167/5.593, allocations: 0.5224 MB / 3.327 GB, free: 207.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004403/5.598, allocations: 2.85 MB / 3.33 GB, free: 204.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001473/5.599, allocations: 0.9381 MB / 3.331 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/5.599, allocations: 0 / 3.331 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008314/5.6, allocations: 0.6513 MB / 3.331 GB, free: 202.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/5.601, allocations: 294.6 kB / 3.332 GB, free: 202.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/5.606, allocations: 1.906 MB / 3.333 GB, free: 200.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/5.606, allocations: 1.107 MB / 3.334 GB, free: 199.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001089/5.608, allocations: 323.1 kB / 3.335 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/5.608, allocations: 435.2 kB / 3.335 GB, free: 198.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.332e-06/5.608, allocations: 0 / 3.335 GB, free: 198.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06396/5.672, allocations: 41.51 MB / 3.376 GB, free: 157.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/5.672, allocations: 230.3 kB / 3.376 GB, free: 157.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/8.952, allocations: 4 kB / 3.376 GB, free: 157.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat does not exist to compare? outputFormat=mat