Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",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.196/2.196, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001408/0.001408, allocations: 192.6 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.527/1.527, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009198/0.0009199, allocations: 83.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.745e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.285/5.57, allocations: 1.924 GB / 3.143 GB, free: 334.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/5.57, allocations: 89.14 kB / 3.143 GB, free: 334.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.712/7.282, allocations: 490.5 MB / 3.622 GB, free: 310.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.693e-06/7.282, allocations: 0 / 3.622 GB, free: 310.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.188e-05/7.282, allocations: 22.78 kB / 3.622 GB, free: 310.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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002097/7.284, allocations: 0.9728 MB / 3.623 GB, free: 309.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/7.284, allocations: 15.62 kB / 3.623 GB, free: 309.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/7.284, allocations: 82.28 kB / 3.623 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/7.286, allocations: 213.6 kB / 3.623 GB, free: 309.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/7.287, allocations: 0.6188 MB / 3.623 GB, free: 309.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/7.287, allocations: 39.7 kB / 3.623 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/7.287, allocations: 53.47 kB / 3.624 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/7.288, allocations: 452.3 kB / 3.624 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/7.288, allocations: 0 / 3.624 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/7.288, allocations: 27.31 kB / 3.624 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/7.288, allocations: 15.56 kB / 3.624 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005837/7.289, allocations: 383.2 kB / 3.624 GB, free: 308.6 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.002469/7.291, allocations: 2.014 MB / 3.626 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/7.292, allocations: 318.3 kB / 3.627 GB, free: 306.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/7.292, allocations: 186.3 kB / 3.627 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/7.292, allocations: 200.1 kB / 3.627 GB, free: 306.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/7.292, allocations: 34.84 kB / 3.627 GB, free: 306.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/7.292, allocations: 2.25 kB / 3.627 GB, free: 306.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.0008285/7.293, allocations: 379.8 kB / 3.627 GB, free: 306.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/7.293, allocations: 57.91 kB / 3.627 GB, free: 306.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/7.293, allocations: 446.8 kB / 3.628 GB, free: 305.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/7.293, allocations: 41.52 kB / 3.628 GB, free: 305.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/7.294, allocations: 303.9 kB / 3.628 GB, free: 305.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/7.294, allocations: 118.3 kB / 3.628 GB, free: 305.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/7.294, allocations: 10.94 kB / 3.628 GB, free: 305.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/7.294, allocations: 359.7 kB / 3.629 GB, free: 305.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/7.294, allocations: 115.3 kB / 3.629 GB, free: 305.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/7.294, allocations: 208.6 kB / 3.629 GB, free: 304.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/7.294, allocations: 157 kB / 3.629 GB, free: 304.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/7.294, allocations: 0 / 3.629 GB, free: 304.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005151/7.295, allocations: 387.4 kB / 3.63 GB, free: 304.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/7.295, allocations: 360.8 kB / 3.63 GB, free: 304.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/7.295, allocations: 7.344 kB / 3.63 GB, free: 304.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/7.295, allocations: 2.125 kB / 3.63 GB, free: 304.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/7.295, allocations: 75.83 kB / 3.63 GB, free: 304.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/7.295, allocations: 3.938 kB / 3.63 GB, free: 304.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/7.296, allocations: 73.58 kB / 3.63 GB, free: 304.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/7.296, allocations: 11.08 kB / 3.63 GB, free: 304.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/7.296, allocations: 7.781 kB / 3.63 GB, free: 304.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004228/7.297, allocations: 314.9 kB / 3.63 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/7.297, allocations: 4.094 kB / 3.63 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/7.297, allocations: 3.594 kB / 3.63 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/7.297, allocations: 75.03 kB / 3.63 GB, free: 304 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/7.297, allocations: 3.984 kB / 3.63 GB, free: 304 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/7.297, allocations: 69.27 kB / 3.63 GB, free: 304 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/7.297, allocations: 7.531 kB / 3.631 GB, free: 304 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/7.298, allocations: 129 kB / 3.631 GB, free: 303.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/7.298, allocations: 65.86 kB / 3.631 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/7.298, allocations: 394.7 kB / 3.631 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/7.298, allocations: 3.688 kB / 3.631 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/7.298, allocations: 0 / 3.631 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003866/7.299, allocations: 397.4 kB / 3.631 GB, free: 303.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/7.3, allocations: 1.142 MB / 3.633 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/7.3, allocations: 3.594 kB / 3.633 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/7.301, allocations: 85.39 kB / 3.633 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/7.301, allocations: 3.594 kB / 3.633 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/7.301, allocations: 11.59 kB / 3.633 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/7.301, allocations: 3.969 kB / 3.633 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/7.301, allocations: 8.031 kB / 3.633 GB, free: 302.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/7.301, allocations: 0.7184 MB / 3.633 GB, free: 301.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/7.302, allocations: 181.5 kB / 3.634 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/7.302, allocations: 13.98 kB / 3.634 GB, free: 301.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/7.302, allocations: 50.8 kB / 3.634 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/7.302, allocations: 27.78 kB / 3.634 GB, free: 301.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/7.302, allocations: 19.61 kB / 3.634 GB, free: 301.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003535/7.303, allocations: 351.4 kB / 3.634 GB, free: 301.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/7.303, allocations: 0 / 3.634 GB, free: 301.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001232/7.304, allocations: 446.1 kB / 3.634 GB, free: 301.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002785/7.307, allocations: 2.848 MB / 3.637 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007/7.307, allocations: 491.2 kB / 3.638 GB, free: 298 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/7.307, allocations: 4 kB / 3.638 GB, free: 298 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/7.308, allocations: 167.8 kB / 3.638 GB, free: 297.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/7.309, allocations: 367.7 kB / 3.638 GB, free: 297.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/7.311, allocations: 1.142 MB / 3.639 GB, free: 296.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/7.312, allocations: 0.9533 MB / 3.64 GB, free: 295.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008343/7.313, allocations: 236.7 kB / 3.64 GB, free: 295.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/7.313, allocations: 211.4 kB / 3.641 GB, free: 294.9 MB / 1.167 GB Notification: Performance of SimCode: time 6.41e-07/7.313, allocations: 0 / 3.641 GB, free: 294.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05969/7.372, allocations: 40.11 MB / 3.68 GB, free: 255 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/7.373, allocations: 183.2 kB / 3.68 GB, free: 254.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/10.68, allocations: 3.938 kB / 3.68 GB, free: 254.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat does not exist to compare? outputFormat=mat