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.141/2.141, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001378/0.001378, allocations: 169.1 kB / 498.1 MB, free: 5.742 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.501/1.501, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001118/0.001119, allocations: 102.5 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003505, allocations: 11.22 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2727, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.69/3.963, allocations: 1.938 GB / 3.161 GB, free: 74.69 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/3.963, allocations: 91.95 kB / 3.161 GB, free: 74.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8034/4.767, allocations: 153.1 MB / 3.311 GB, free: 394.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/4.767, allocations: 0 / 3.311 GB, free: 394.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001307/4.767, allocations: 31.94 kB / 3.311 GB, free: 394.4 MB / 1.167 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.003594/4.77, allocations: 1.501 MB / 3.312 GB, free: 392.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/4.77, allocations: 12.03 kB / 3.312 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003667/4.771, allocations: 147.7 kB / 3.312 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/4.773, allocations: 269.2 kB / 3.312 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/4.774, allocations: 0.8205 MB / 3.313 GB, free: 391.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/4.774, allocations: 71.2 kB / 3.313 GB, free: 391.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/4.774, allocations: 88 kB / 3.313 GB, free: 391.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/4.776, allocations: 1.035 MB / 3.314 GB, free: 390.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/4.776, allocations: 11.89 kB / 3.314 GB, free: 390.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/4.777, allocations: 40 kB / 3.314 GB, free: 390.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/4.777, allocations: 20 kB / 3.314 GB, free: 390.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/4.779, allocations: 1.28 MB / 3.316 GB, free: 389.1 MB / 1.167 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.004696/4.783, allocations: 3.13 MB / 3.319 GB, free: 385.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/4.785, allocations: 1.015 MB / 3.32 GB, free: 384.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/4.785, allocations: 133.3 kB / 3.32 GB, free: 384.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008479/4.786, allocations: 0.5553 MB / 3.32 GB, free: 384.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=86): time 2.475e-06/4.786, allocations: 4 kB / 3.32 GB, free: 384.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=86): time 0.003677/4.79, allocations: 1.551 MB / 3.322 GB, free: 382.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/4.79, allocations: 244.3 kB / 3.322 GB, free: 382.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/4.791, allocations: 0.8087 MB / 3.323 GB, free: 381.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/4.791, allocations: 41.7 kB / 3.323 GB, free: 381.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/4.791, allocations: 451.1 kB / 3.323 GB, free: 380.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/4.791, allocations: 277.3 kB / 3.324 GB, free: 380.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/4.791, allocations: 16 kB / 3.324 GB, free: 380.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.308e-05/4.791, allocations: 337.9 kB / 3.324 GB, free: 380.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/4.792, allocations: 309.8 kB / 3.324 GB, free: 380 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/4.792, allocations: 437.9 kB / 3.325 GB, free: 379.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/4.793, allocations: 370.8 kB / 3.325 GB, free: 379.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/4.793, allocations: 4 kB / 3.325 GB, free: 379.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00202/4.795, allocations: 0.9626 MB / 3.326 GB, free: 378.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/4.795, allocations: 4.938 kB / 3.326 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/4.795, allocations: 0 / 3.326 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/4.796, allocations: 117.6 kB / 3.326 GB, free: 378 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/4.797, allocations: 183.8 kB / 3.326 GB, free: 377.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/4.799, allocations: 2.883 MB / 3.329 GB, free: 374.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/4.8, allocations: 111.3 kB / 3.329 GB, free: 374.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.12e-05/4.8, allocations: 35.98 kB / 3.329 GB, free: 374.5 MB / 1.167 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 () * Number of clocked 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.0004202/4.8, allocations: 286.2 kB / 3.33 GB, free: 374.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/4.8, allocations: 94.88 kB / 3.33 GB, free: 374.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/4.803, allocations: 1.259 MB / 3.331 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/4.803, allocations: 12 kB / 3.331 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/4.803, allocations: 4.094 kB / 3.331 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/4.803, allocations: 7.922 kB / 3.331 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/4.807, allocations: 2.359 MB / 3.333 GB, free: 370.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/4.807, allocations: 0 / 3.333 GB, free: 370.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/4.807, allocations: 187.7 kB / 3.333 GB, free: 370.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005941/4.808, allocations: 117.6 kB / 3.334 GB, free: 370.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/4.808, allocations: 27.97 kB / 3.334 GB, free: 370.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/4.81, allocations: 2.902 MB / 3.336 GB, free: 367 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/4.81, allocations: 0 / 3.336 GB, free: 367 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/4.812, allocations: 1.149 MB / 3.338 GB, free: 365.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/4.813, allocations: 347.5 kB / 3.338 GB, free: 365.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/4.813, allocations: 23.98 kB / 3.338 GB, free: 365.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/4.814, allocations: 83.88 kB / 3.338 GB, free: 365.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/4.814, allocations: 80.83 kB / 3.338 GB, free: 365.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/4.814, allocations: 39.97 kB / 3.338 GB, free: 365.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007153/4.815, allocations: 0.6513 MB / 3.339 GB, free: 364.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.4e-07/4.815, allocations: 0 / 3.339 GB, free: 364.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001489/4.816, allocations: 0.5107 MB / 3.339 GB, free: 364.1 MB / 1.167 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) * Number of clocked states: 0 () * 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.004587/4.821, allocations: 2.988 MB / 3.342 GB, free: 361.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001717/4.822, allocations: 1.037 MB / 3.343 GB, free: 360.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/4.822, allocations: 4 kB / 3.343 GB, free: 360.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009451/4.823, allocations: 0.6864 MB / 3.344 GB, free: 359.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/4.825, allocations: 298 kB / 3.344 GB, free: 359.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/4.835, allocations: 6.642 MB / 3.351 GB, free: 352.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/4.836, allocations: 1.106 MB / 3.352 GB, free: 351.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001104/4.837, allocations: 323.1 kB / 3.352 GB, free: 351 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/4.837, allocations: 439.2 kB / 3.352 GB, free: 350.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/4.837, allocations: 0 / 3.352 GB, free: 350.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/4.89, allocations: 39.28 MB / 3.391 GB, free: 311.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/4.89, allocations: 275.8 kB / 3.391 GB, free: 311.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/8.059, allocations: 0 / 3.391 GB, free: 311.3 MB / 1.167 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