Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",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.429/2.429, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001175/0.001175, allocations: 187.5 kB / 0.4901 GB, free: 2.246 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.844/1.844, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001041/0.001041, allocations: 102.3 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 10.56 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.068/5.399, allocations: 1.939 GB / 3.168 GB, free: 15.02 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/5.4, allocations: 88.08 kB / 3.168 GB, free: 14.98 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.506/6.906, allocations: 326.1 MB / 3.487 GB, free: 164.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.866e-06/6.906, allocations: 3.938 kB / 3.487 GB, free: 164.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003116/6.907, allocations: 51.94 kB / 3.487 GB, free: 164.5 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.007512/6.914, allocations: 2.588 MB / 3.489 GB, free: 161.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/6.914, allocations: 8.562 kB / 3.489 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008455/6.915, allocations: 240.5 kB / 3.489 GB, free: 161.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/6.919, allocations: 0.5473 MB / 3.49 GB, free: 161 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/6.924, allocations: 2.192 MB / 3.492 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/6.925, allocations: 127.2 kB / 3.492 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006207/6.925, allocations: 164 kB / 3.492 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004562/6.93, allocations: 1.849 MB / 3.494 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/6.93, allocations: 0 / 3.494 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00035/6.93, allocations: 76 kB / 3.494 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/6.93, allocations: 40 kB / 3.494 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/6.934, allocations: 1.995 MB / 3.496 GB, free: 154.4 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.01247/6.947, allocations: 6.018 MB / 3.502 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/6.95, allocations: 1.978 MB / 3.504 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/6.95, allocations: 425.7 kB / 3.504 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/6.952, allocations: 0.9231 MB / 3.505 GB, free: 144.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 6.022e-06/6.952, allocations: 0 / 3.505 GB, free: 144.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006817/6.959, allocations: 2.835 MB / 3.508 GB, free: 141.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/6.959, allocations: 248.6 kB / 3.508 GB, free: 141.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/6.963, allocations: 2.436 MB / 3.511 GB, free: 139 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000353/6.964, allocations: 53.7 kB / 3.511 GB, free: 139 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/6.965, allocations: 0.8629 MB / 3.512 GB, free: 138.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/6.965, allocations: 457.2 kB / 3.512 GB, free: 137.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/6.965, allocations: 28 kB / 3.512 GB, free: 137.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000122/6.966, allocations: 345.9 kB / 3.512 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/6.967, allocations: 0.5296 MB / 3.513 GB, free: 136.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/6.968, allocations: 0.7475 MB / 3.514 GB, free: 135.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/6.969, allocations: 0.6015 MB / 3.514 GB, free: 135.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/6.969, allocations: 0 / 3.514 GB, free: 135.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004132/6.973, allocations: 1.67 MB / 3.516 GB, free: 133.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/6.973, allocations: 7.984 kB / 3.516 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/6.973, allocations: 0 / 3.516 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/6.975, allocations: 220.1 kB / 3.516 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/6.976, allocations: 295.6 kB / 3.516 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005299/6.981, allocations: 6.851 MB / 3.523 GB, free: 125.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/6.984, allocations: 155 kB / 3.523 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/6.984, allocations: 67.97 kB / 3.523 GB, free: 125.4 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 (131): * Single equations (assignments): 126 * 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.001623/6.986, allocations: 479.1 kB / 3.524 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008559/6.986, allocations: 189.7 kB / 3.524 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005663/6.992, allocations: 2.117 MB / 3.526 GB, free: 122.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/6.992, allocations: 16 kB / 3.526 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/6.992, allocations: 0 / 3.526 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/6.992, allocations: 11.92 kB / 3.526 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/7.003, allocations: 4.213 MB / 3.53 GB, free: 118.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/7.003, allocations: 0 / 3.53 GB, free: 118.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/7.005, allocations: 331.5 kB / 3.53 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/7.006, allocations: 216.1 kB / 3.531 GB, free: 117.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/7.006, allocations: 39.97 kB / 3.531 GB, free: 117.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/7.011, allocations: 6.874 MB / 3.537 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/7.011, allocations: 4.125 kB / 3.537 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/7.016, allocations: 1.873 MB / 3.539 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/7.018, allocations: 0.6699 MB / 3.54 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008726/7.019, allocations: 28 kB / 3.54 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/7.021, allocations: 131.7 kB / 3.54 GB, free: 107.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/7.022, allocations: 101.2 kB / 3.54 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/7.022, allocations: 91.94 kB / 3.54 GB, free: 107.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003965/7.026, allocations: 1.931 MB / 3.542 GB, free: 105.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/7.026, allocations: 0 / 3.542 GB, free: 105.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004428/7.03, allocations: 0.8224 MB / 3.543 GB, free: 104.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) * Number of clocked states: 0 () * 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.008619/7.039, allocations: 3.978 MB / 3.547 GB, free: 100.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003816/7.043, allocations: 1.887 MB / 3.549 GB, free: 98.62 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/7.043, allocations: 8.562 kB / 3.549 GB, free: 98.61 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/7.045, allocations: 1.332 MB / 3.55 GB, free: 97.21 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/7.048, allocations: 471.2 kB / 3.55 GB, free: 96.75 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/7.08, allocations: 15.14 MB / 3.565 GB, free: 80.93 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/7.082, allocations: 1.556 MB / 3.567 GB, free: 79.34 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00334/7.085, allocations: 0.653 MB / 3.567 GB, free: 78.68 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/7.087, allocations: 0.9209 MB / 3.568 GB, free: 77.76 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/7.087, allocations: 0 / 3.568 GB, free: 77.76 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/7.198, allocations: 67.22 MB / 3.634 GB, free: 10.95 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/7.198, allocations: 265.6 kB / 3.634 GB, free: 10.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.371/11.57, allocations: 0 / 3.634 GB, free: 10.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat does not exist to compare? outputFormat=mat