Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.206/2.206, allocations: 390.5 MB / 398 MB, free: 10.97 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.001506/0.001507, allocations: 172.9 kB / 491.2 MB, free: 1.586 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.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.00101/0.001011, allocations: 97.94 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.033e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2669, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.225/5.491, allocations: 1.938 GB / 3.151 GB, free: 390.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/5.492, allocations: 87.95 kB / 3.151 GB, free: 390 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3098/5.802, allocations: 150.9 MB / 3.298 GB, free: 237 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.265e-06/5.802, allocations: 0 / 3.298 GB, free: 237 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001321/5.802, allocations: 35.88 kB / 3.298 GB, free: 237 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.003181/5.805, allocations: 1.336 MB / 3.299 GB, free: 235.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/5.805, allocations: 8.031 kB / 3.299 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/5.807, allocations: 266.2 kB / 3.3 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/5.809, allocations: 0.8148 MB / 3.3 GB, free: 234.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/5.809, allocations: 28 kB / 3.3 GB, free: 234.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/5.809, allocations: 56 kB / 3.3 GB, free: 234.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00174/5.811, allocations: 1.132 MB / 3.302 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/5.812, allocations: 0.8622 MB / 3.302 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/5.812, allocations: 4 kB / 3.302 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/5.812, allocations: 0 / 3.302 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/5.812, allocations: 24 kB / 3.302 GB, free: 232.4 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.004602/5.817, allocations: 2.962 MB / 3.305 GB, free: 229.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/5.818, allocations: 0.8955 MB / 3.306 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/5.818, allocations: 332.2 kB / 3.307 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/5.819, allocations: 133.9 kB / 3.307 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006073/5.819, allocations: 491.7 kB / 3.307 GB, free: 227.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 2.865e-06/5.819, allocations: 0 / 3.307 GB, free: 227.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001782/5.821, allocations: 0.8326 MB / 3.308 GB, free: 226.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/5.821, allocations: 244.1 kB / 3.308 GB, free: 226.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/5.822, allocations: 0.7146 MB / 3.309 GB, free: 225.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/5.822, allocations: 29.7 kB / 3.309 GB, free: 225.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/5.822, allocations: 456.2 kB / 3.309 GB, free: 225.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/5.822, allocations: 271.9 kB / 3.31 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/5.822, allocations: 0 / 3.31 GB, free: 224.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/5.823, allocations: 337.9 kB / 3.31 GB, free: 224.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/5.823, allocations: 241.5 kB / 3.31 GB, free: 224.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/5.823, allocations: 382.1 kB / 3.311 GB, free: 223.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/5.824, allocations: 304.4 kB / 3.311 GB, free: 223.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/5.824, allocations: 0 / 3.311 GB, free: 223.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001567/5.825, allocations: 0.821 MB / 3.312 GB, free: 222.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/5.825, allocations: 7.984 kB / 3.312 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/5.825, allocations: 64 / 3.312 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/5.826, allocations: 117.6 kB / 3.312 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/5.827, allocations: 179.8 kB / 3.312 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/5.829, allocations: 2.733 MB / 3.315 GB, free: 219.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/5.83, allocations: 87.48 kB / 3.315 GB, free: 219.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/5.83, allocations: 35.98 kB / 3.315 GB, free: 219.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.0001864/5.83, allocations: 124.8 kB / 3.315 GB, free: 219.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00156/5.832, allocations: 0.8209 MB / 3.316 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/5.832, allocations: 94.91 kB / 3.316 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/5.834, allocations: 1.102 MB / 3.317 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/5.834, allocations: 8 kB / 3.317 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/5.834, allocations: 3.938 kB / 3.317 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/5.834, allocations: 11.97 kB / 3.317 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/5.837, allocations: 2.089 MB / 3.319 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/5.837, allocations: 3.938 kB / 3.319 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/5.838, allocations: 191.8 kB / 3.319 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/5.838, allocations: 113.6 kB / 3.319 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/5.838, allocations: 15.98 kB / 3.319 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/5.841, allocations: 2.749 MB / 3.322 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.841, allocations: 4.031 kB / 3.322 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/5.842, allocations: 1.017 MB / 3.323 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/5.843, allocations: 343.4 kB / 3.323 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/5.843, allocations: 11.94 kB / 3.323 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/5.844, allocations: 63.94 kB / 3.323 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/5.844, allocations: 73.2 kB / 3.323 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/5.844, allocations: 43.97 kB / 3.323 GB, free: 210 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006678/5.845, allocations: 0.5577 MB / 3.324 GB, free: 209.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/5.845, allocations: 0 / 3.324 GB, free: 209.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001934/5.847, allocations: 494.8 kB / 3.324 GB, free: 209 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.004862/5.852, allocations: 2.873 MB / 3.327 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001487/5.853, allocations: 0.8863 MB / 3.328 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/5.853, allocations: 4 kB / 3.328 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007411/5.854, allocations: 0.6214 MB / 3.329 GB, free: 204.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/5.855, allocations: 273.4 kB / 3.329 GB, free: 204.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/5.86, allocations: 1.832 MB / 3.331 GB, free: 202.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/5.86, allocations: 1.098 MB / 3.332 GB, free: 201.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00102/5.861, allocations: 306.8 kB / 3.332 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/5.862, allocations: 435.2 kB / 3.332 GB, free: 200.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/5.862, allocations: 4 kB / 3.332 GB, free: 200.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06497/5.927, allocations: 31.15 MB / 3.363 GB, free: 169.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/5.927, allocations: 191.1 kB / 3.363 GB, free: 169.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/9.036, allocations: 2.031 kB / 3.363 GB, free: 169.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat does not exist to compare? outputFormat=mat