Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.305/2.305, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001263/0.001263, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009929/0.0009931, allocations: 99.52 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.209e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2651, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.94/5.205, allocations: 1.938 GB / 3.157 GB, free: 320.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/5.206, allocations: 83.8 kB / 3.157 GB, free: 320.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5905/5.796, allocations: 318.1 MB / 3.468 GB, free: 8.367 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.844e-06/5.796, allocations: 0 / 3.468 GB, free: 8.367 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001554/5.796, allocations: 44 kB / 3.468 GB, free: 8.324 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.00387/5.8, allocations: 1.758 MB / 3.47 GB, free: 6.508 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/5.8, allocations: 12.03 kB / 3.47 GB, free: 6.496 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004866/5.801, allocations: 236.6 kB / 3.47 GB, free: 6.254 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/5.804, allocations: 0.4934 MB / 3.47 GB, free: 5.758 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/5.806, allocations: 0.9661 MB / 3.471 GB, free: 4.75 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/5.806, allocations: 127.3 kB / 3.471 GB, free: 4.625 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/5.807, allocations: 163.9 kB / 3.471 GB, free: 4.465 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/5.809, allocations: 1.682 MB / 3.473 GB, free: 2.73 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/5.81, allocations: 0 / 3.473 GB, free: 2.73 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/5.81, allocations: 76 kB / 3.473 GB, free: 2.656 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/5.81, allocations: 40 kB / 3.473 GB, free: 2.617 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/5.812, allocations: 1.711 MB / 3.475 GB, free: 0.9023 MB / 1.167 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.7132/6.525, allocations: 4.858 MB / 3.48 GB, free: 316.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/6.528, allocations: 1.561 MB / 3.481 GB, free: 316 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/6.529, allocations: 0.5844 MB / 3.482 GB, free: 316 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008941/6.53, allocations: 0.7979 MB / 3.483 GB, free: 315.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/6.532, allocations: 0.7706 MB / 3.483 GB, free: 315.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.196e-06/6.532, allocations: 0 / 3.483 GB, free: 315.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.003575/6.535, allocations: 1.352 MB / 3.485 GB, free: 314.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/6.535, allocations: 247.6 kB / 3.485 GB, free: 314.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/6.537, allocations: 0.7391 MB / 3.486 GB, free: 314.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/6.537, allocations: 55.45 kB / 3.486 GB, free: 314.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/6.537, allocations: 0.6336 MB / 3.486 GB, free: 314.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/6.538, allocations: 457.7 kB / 3.487 GB, free: 314 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/6.538, allocations: 23.75 kB / 3.487 GB, free: 314 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/6.538, allocations: 357.9 kB / 3.487 GB, free: 313.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/6.539, allocations: 401.8 kB / 3.487 GB, free: 313.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/6.539, allocations: 0.5484 MB / 3.488 GB, free: 313.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/6.54, allocations: 475.2 kB / 3.488 GB, free: 313.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/6.54, allocations: 3.875 kB / 3.488 GB, free: 313.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002868/6.543, allocations: 1.327 MB / 3.49 GB, free: 313.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/6.543, allocations: 5 kB / 3.49 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/6.543, allocations: 6.703 kB / 3.49 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008955/6.544, allocations: 185.6 kB / 3.49 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/6.546, allocations: 298.3 kB / 3.49 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/6.55, allocations: 6.762 MB / 3.497 GB, free: 307.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/6.552, allocations: 143.1 kB / 3.497 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/6.552, allocations: 51.83 kB / 3.497 GB, free: 307 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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.0003498/6.552, allocations: 181 kB / 3.497 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/6.552, allocations: 129.9 kB / 3.497 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/6.556, allocations: 1.669 MB / 3.499 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/6.556, allocations: 15.19 kB / 3.499 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/6.556, allocations: 4.062 kB / 3.499 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/6.556, allocations: 8.391 kB / 3.499 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/6.564, allocations: 3.236 MB / 3.502 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/6.564, allocations: 0 / 3.502 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/6.565, allocations: 313.8 kB / 3.502 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008924/6.566, allocations: 192.6 kB / 3.503 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/6.566, allocations: 41.59 kB / 3.503 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00474/6.571, allocations: 6.792 MB / 3.509 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/6.571, allocations: 3.281 kB / 3.509 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/6.575, allocations: 1.51 MB / 3.511 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/6.576, allocations: 416.6 kB / 3.511 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000351/6.577, allocations: 24.41 kB / 3.511 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/6.578, allocations: 119.1 kB / 3.511 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/6.578, allocations: 105.7 kB / 3.511 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/6.579, allocations: 66.33 kB / 3.511 GB, free: 299.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001215/6.58, allocations: 0.5938 MB / 3.512 GB, free: 299.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/6.58, allocations: 0 / 3.512 GB, free: 299.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002883/6.583, allocations: 0.6899 MB / 3.513 GB, free: 299.4 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 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.007419/6.59, allocations: 3.584 MB / 3.516 GB, free: 298.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003083/6.593, allocations: 1.652 MB / 3.518 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/6.593, allocations: 4 kB / 3.518 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/6.595, allocations: 1.205 MB / 3.519 GB, free: 297.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/6.598, allocations: 434.7 kB / 3.519 GB, free: 297.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/6.607, allocations: 2.545 MB / 3.522 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/6.608, allocations: 1.311 MB / 3.523 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002568/6.611, allocations: 409.9 kB / 3.524 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/6.612, allocations: 0.6116 MB / 3.524 GB, free: 295.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.733e-06/6.612, allocations: 0 / 3.524 GB, free: 295.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/6.718, allocations: 56.28 MB / 3.579 GB, free: 294.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/6.719, allocations: 223.6 kB / 3.579 GB, free: 293.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/10.58, allocations: 0 / 3.579 GB, free: 293.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat