Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001483/0.001483, allocations: 184 kB / 0.4902 GB, free: 2.254 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.725/1.725, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009866/0.0009866, allocations: 102.8 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 13.67 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3562, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2125/0.5688, allocations: 150.5 MB / 1.376 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.5692, allocations: 79.95 kB / 1.376 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009579/0.5788, allocations: 2.897 MB / 1.379 GB, free: 160 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5788, allocations: 3.938 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5788, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004044/0.5793, allocations: 359.3 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5793, allocations: 8.031 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.5794, allocations: 3.984 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.5795, allocations: 167 kB / 1.38 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.5795, allocations: 4 kB / 1.38 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.5795, allocations: 0 / 1.38 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.5797, allocations: 33.69 kB / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5797, allocations: 0 / 1.38 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5797, allocations: 3.984 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5797, allocations: 4 kB / 1.38 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.5797, allocations: 15.94 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.58, allocations: 157.6 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.5801, allocations: 26.58 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008441/0.5809, allocations: 0.6688 MB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.581, allocations: 30.56 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.581, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001722/0.5812, allocations: 49.62 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5812, allocations: 51.41 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.5813, allocations: 85 kB / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.5813, allocations: 25.7 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.5814, allocations: 84.14 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.5815, allocations: 19.8 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.5815, allocations: 0 / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5816, allocations: 310.8 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.5817, allocations: 4 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.5817, allocations: 17.72 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.5817, allocations: 11.94 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5817, allocations: 4 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.47e-05/0.5818, allocations: 45.64 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5818, allocations: 7.984 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.5818, allocations: 4 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5819, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.5819, allocations: 4 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5819, allocations: 0 / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.5819, allocations: 11.94 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.582, allocations: 0 / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.446e-05/0.5821, allocations: 122.6 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.5821, allocations: 0 / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.5822, allocations: 53.11 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5822, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5822, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5822, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5824, allocations: 153.7 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5824, allocations: 7.938 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.5824, allocations: 4 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5824, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5824, allocations: 8 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5824, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5824, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.5826, allocations: 89.27 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.5826, allocations: 85.05 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.5827, allocations: 0 / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.5827, allocations: 0 / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.5827, allocations: 4.031 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.5827, allocations: 4.062 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.5827, allocations: 75.28 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5827, allocations: 0 / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002907/0.583, allocations: 67.86 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000395/0.5834, allocations: 195.1 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.5835, allocations: 19.92 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5835, allocations: 4.062 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.5836, allocations: 4 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.095e-05/0.5837, allocations: 7.938 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.584, allocations: 108.6 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5843, allocations: 0.677 MB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.5843, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.5843, allocations: 15.44 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5844, allocations: 0 / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of Templates: time 0.003444/0.5878, allocations: 1.069 MB / 1.384 GB, free: 10.68 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches