Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00206/0.00206, allocations: 176.9 kB / 487.4 MB, free: 5.055 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.719/1.719, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009301/0.0009302, allocations: 98.55 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.407e-05, allocations: 6.188 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3391, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.346/5.685, allocations: 1.94 GB / 3.146 GB, free: 344.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/5.685, allocations: 83.02 kB / 3.146 GB, free: 344.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.69/7.375, allocations: 481.6 MB / 3.617 GB, free: 302.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.513e-06/7.375, allocations: 0 / 3.617 GB, free: 302.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002157/7.375, allocations: 57.3 kB / 3.617 GB, free: 302.1 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.004225/7.379, allocations: 1.798 MB / 3.618 GB, free: 301.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/7.38, allocations: 11.06 kB / 3.618 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/7.383, allocations: 444.7 kB / 3.619 GB, free: 301.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/7.384, allocations: 0.9783 MB / 3.62 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/7.384, allocations: 52.52 kB / 3.62 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/7.385, allocations: 91.75 kB / 3.62 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00222/7.387, allocations: 1.524 MB / 3.621 GB, free: 300.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/7.389, allocations: 1.418 MB / 3.623 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/7.389, allocations: 3.656 kB / 3.623 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/7.389, allocations: 10.23 kB / 3.623 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/7.389, allocations: 37.56 kB / 3.623 GB, free: 300.6 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.006831/7.396, allocations: 5.465 MB / 3.628 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/7.398, allocations: 1.349 MB / 3.63 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/7.398, allocations: 0.4919 MB / 3.63 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/7.399, allocations: 0.8871 MB / 3.631 GB, free: 296.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/7.4, allocations: 0.664 MB / 3.632 GB, free: 296.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=117): time 2.585e-06/7.4, allocations: 0 / 3.632 GB, free: 296.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=117): time 0.002423/7.402, allocations: 1.11 MB / 3.633 GB, free: 296.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/7.402, allocations: 243.5 kB / 3.633 GB, free: 295.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/7.403, allocations: 0.6741 MB / 3.634 GB, free: 295.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/7.403, allocations: 28.95 kB / 3.634 GB, free: 295.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/7.404, allocations: 0.6549 MB / 3.634 GB, free: 295.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/7.404, allocations: 379.2 kB / 3.635 GB, free: 294.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/7.404, allocations: 0 / 3.635 GB, free: 294.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/7.404, allocations: 347.5 kB / 3.635 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/7.405, allocations: 348.9 kB / 3.635 GB, free: 294.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/7.405, allocations: 0.5076 MB / 3.636 GB, free: 294 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/7.406, allocations: 436.4 kB / 3.636 GB, free: 293.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/7.406, allocations: 0 / 3.636 GB, free: 293.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002002/7.408, allocations: 1.091 MB / 3.637 GB, free: 293.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/7.408, allocations: 12.14 kB / 3.637 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/7.408, allocations: 0 / 3.637 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/7.409, allocations: 86.61 kB / 3.637 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/7.41, allocations: 268.4 kB / 3.638 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/7.411, allocations: 1.471 MB / 3.639 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/7.413, allocations: 110.7 kB / 3.639 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/7.413, allocations: 41.88 kB / 3.639 GB, free: 291.7 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.0002539/7.413, allocations: 134.9 kB / 3.639 GB, free: 291.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002059/7.415, allocations: 1.065 MB / 3.64 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/7.415, allocations: 120.6 kB / 3.64 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/7.418, allocations: 1.378 MB / 3.642 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/7.418, allocations: 14.41 kB / 3.642 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/7.418, allocations: 0 / 3.642 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/7.418, allocations: 7.969 kB / 3.642 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004426/7.422, allocations: 2.74 MB / 3.644 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/7.422, allocations: 0 / 3.644 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/7.424, allocations: 271.2 kB / 3.645 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/7.424, allocations: 80.19 kB / 3.645 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/7.424, allocations: 22.88 kB / 3.645 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/7.426, allocations: 1.504 MB / 3.646 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/7.426, allocations: 0 / 3.646 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/7.428, allocations: 1.866 MB / 3.648 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/7.429, allocations: 396.2 kB / 3.648 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/7.429, allocations: 3.25 kB / 3.649 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/7.43, allocations: 96 kB / 3.649 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/7.43, allocations: 83.97 kB / 3.649 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/7.431, allocations: 51.38 kB / 3.649 GB, free: 285.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006496/7.431, allocations: 0.5315 MB / 3.649 GB, free: 285.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/7.431, allocations: 0 / 3.649 GB, free: 285.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001666/7.433, allocations: 0.6127 MB / 3.65 GB, free: 285.1 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.006096/7.439, allocations: 4.256 MB / 3.654 GB, free: 283 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001872/7.441, allocations: 1.051 MB / 3.655 GB, free: 282.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/7.441, allocations: 11.06 kB / 3.655 GB, free: 282.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009276/7.442, allocations: 0.655 MB / 3.656 GB, free: 282.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/7.444, allocations: 405.6 kB / 3.656 GB, free: 282 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/7.451, allocations: 2.533 MB / 3.659 GB, free: 280.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/7.451, allocations: 1.313 MB / 3.66 GB, free: 279.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001583/7.453, allocations: 407.8 kB / 3.66 GB, free: 279.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/7.454, allocations: 0.6384 MB / 3.661 GB, free: 279.1 MB / 1.151 GB Notification: Performance of SimCode: time 7.32e-07/7.454, allocations: 0 / 3.661 GB, free: 279.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.082/7.536, allocations: 42.25 MB / 3.702 GB, free: 240.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/7.536, allocations: 163.2 kB / 3.702 GB, free: 240.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/11.05, allocations: 0 / 3.702 GB, free: 240.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat does not exist to compare? outputFormat=mat