Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",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.179/2.179, allocations: 390.5 MB / 398 MB, free: 10.9 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.001664/0.001664, allocations: 191.2 kB / 491.2 MB, free: 1.574 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.541/1.541, 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.001127/0.001126, allocations: 95.41 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.313e-05, allocations: 5.719 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3267, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.893/5.219, allocations: 1.941 GB / 3.153 GB, free: 386.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/5.22, allocations: 88.83 kB / 3.153 GB, free: 386.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.543/6.762, allocations: 481.6 MB / 3.624 GB, free: 290.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/6.762, allocations: 0 / 3.624 GB, free: 290.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001075/6.763, allocations: 53.27 kB / 3.624 GB, free: 290.7 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003123/6.766, allocations: 1.799 MB / 3.626 GB, free: 289.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/6.766, allocations: 11.03 kB / 3.626 GB, free: 289.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/6.768, allocations: 451.2 kB / 3.626 GB, free: 289.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/6.77, allocations: 0.9791 MB / 3.627 GB, free: 289.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/6.77, allocations: 50.62 kB / 3.627 GB, free: 289.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/6.77, allocations: 87.94 kB / 3.627 GB, free: 289.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002021/6.772, allocations: 1.524 MB / 3.629 GB, free: 289.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/6.774, allocations: 1.42 MB / 3.63 GB, free: 289.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/6.774, allocations: 4.844 kB / 3.63 GB, free: 289.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/6.774, allocations: 3.969 kB / 3.63 GB, free: 289.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/6.774, allocations: 36.34 kB / 3.63 GB, free: 289.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.006205/6.781, allocations: 5.466 MB / 3.635 GB, free: 286.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/6.782, allocations: 1.353 MB / 3.637 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/6.783, allocations: 489.7 kB / 3.637 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007299/6.783, allocations: 0.8874 MB / 3.638 GB, free: 285.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/6.784, allocations: 0.6713 MB / 3.639 GB, free: 285.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=117): time 2.504e-06/6.784, allocations: 0 / 3.639 GB, free: 285.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=117): time 0.002343/6.787, allocations: 1.11 MB / 3.64 GB, free: 285.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/6.787, allocations: 243.2 kB / 3.64 GB, free: 285.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007903/6.788, allocations: 0.6738 MB / 3.641 GB, free: 285 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/6.788, allocations: 29.58 kB / 3.641 GB, free: 285 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/6.788, allocations: 0.6496 MB / 3.641 GB, free: 284.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/6.788, allocations: 377.9 kB / 3.642 GB, free: 284.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/6.788, allocations: 0 / 3.642 GB, free: 284.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/6.788, allocations: 351.4 kB / 3.642 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/6.789, allocations: 355.1 kB / 3.642 GB, free: 284.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/6.789, allocations: 0.51 MB / 3.643 GB, free: 284 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/6.79, allocations: 425.4 kB / 3.643 GB, free: 284 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/6.79, allocations: 7.062 kB / 3.643 GB, free: 284 MB / 1.151 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001862/6.792, allocations: 1.087 MB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/6.792, allocations: 8.938 kB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/6.792, allocations: 7.75 kB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/6.792, allocations: 85.62 kB / 3.644 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/6.794, allocations: 263.4 kB / 3.645 GB, free: 283.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/6.795, allocations: 1.471 MB / 3.646 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/6.796, allocations: 111.8 kB / 3.646 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/6.796, allocations: 40.28 kB / 3.646 GB, free: 282.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/6.797, allocations: 126.7 kB / 3.646 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001857/6.798, allocations: 1.077 MB / 3.647 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/6.799, allocations: 119.1 kB / 3.648 GB, free: 282.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/6.801, allocations: 1.37 MB / 3.649 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/6.801, allocations: 10.94 kB / 3.649 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/6.801, allocations: 2.906 kB / 3.649 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/6.801, allocations: 7.75 kB / 3.649 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/6.805, allocations: 2.754 MB / 3.652 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/6.805, allocations: 3.938 kB / 3.652 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/6.806, allocations: 261.9 kB / 3.652 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/6.807, allocations: 91.39 kB / 3.652 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/6.807, allocations: 21.94 kB / 3.652 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/6.809, allocations: 1.487 MB / 3.653 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/6.809, allocations: 3 kB / 3.653 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/6.811, allocations: 1.867 MB / 3.655 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006166/6.812, allocations: 394.5 kB / 3.656 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/6.812, allocations: 3.875 kB / 3.656 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/6.813, allocations: 92.7 kB / 3.656 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/6.813, allocations: 89.03 kB / 3.656 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/6.814, allocations: 61.19 kB / 3.656 GB, free: 280.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000673/6.814, allocations: 0.5283 MB / 3.656 GB, free: 280.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/6.814, allocations: 0 / 3.656 GB, free: 280.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001726/6.816, allocations: 0.6074 MB / 3.657 GB, free: 279.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005565/6.822, allocations: 4.269 MB / 3.661 GB, free: 278.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001656/6.823, allocations: 1.052 MB / 3.662 GB, free: 278 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/6.823, allocations: 4.344 kB / 3.662 GB, free: 278 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008925/6.824, allocations: 0.655 MB / 3.663 GB, free: 277.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/6.826, allocations: 398.9 kB / 3.663 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/6.832, allocations: 2.529 MB / 3.666 GB, free: 276.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/6.833, allocations: 1.318 MB / 3.667 GB, free: 276 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001558/6.835, allocations: 415.5 kB / 3.667 GB, free: 276 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/6.835, allocations: 0.6271 MB / 3.668 GB, free: 275.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.193e-06/6.835, allocations: 0 / 3.668 GB, free: 275.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07261/6.908, allocations: 42.26 MB / 3.709 GB, free: 253 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/6.908, allocations: 166.6 kB / 3.709 GB, free: 252.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/10.34, allocations: 0 / 3.709 GB, free: 252.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat does not exist to compare? outputFormat=mat