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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.61/2.61, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 12 kB / 0.8708 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6599, allocations: 153.6 MB / 1.021 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.0006408/0.6606, allocations: 264.6 kB / 1.021 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009876/0.6616, allocations: 0.5893 MB / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.6616, allocations: 0 / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.6617, allocations: 0 / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.6617, allocations: 0 / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.6622, allocations: 127.7 kB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.941e-05/0.6622, allocations: 0 / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.6622, allocations: 0 / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.6623, allocations: 4 kB / 1.022 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.284e-05/0.6623, allocations: 19.8 kB / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.6623, allocations: 0 / 1.022 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.6627, allocations: 195.7 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.6627, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.6627, allocations: 25.7 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.6629, allocations: 79.88 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.6629, allocations: 0 / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6629, allocations: 0 / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.6629, allocations: 0 / 1.022 GB, free: 15.87 MB / 0.7794 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.0003124/0.6632, allocations: 351.4 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.6632, allocations: 8.031 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.6633, allocations: 0 / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.809e-05/0.6634, allocations: 163.1 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6634, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.6634, allocations: 3.906 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.819e-05/0.6635, allocations: 45.58 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.6635, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.6635, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6635, allocations: 4 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.6636, allocations: 11.98 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.6638, allocations: 153.7 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.6639, allocations: 30.56 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008561/0.6648, allocations: 0.6844 MB / 1.023 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.6648, allocations: 34.5 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.6648, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001419/0.665, allocations: 49.64 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.665, allocations: 51.41 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.6651, allocations: 97.86 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.6651, allocations: 25.7 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.6651, allocations: 84.14 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.6651, allocations: 5.875 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.6652, allocations: 0 / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6653, allocations: 314.8 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.6653, allocations: 8 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.6653, allocations: 17.66 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.342e-05/0.6654, allocations: 12 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6654, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.126e-05/0.6655, allocations: 45.69 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6655, allocations: 9.875 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.6655, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6655, allocations: 7.891 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.6655, allocations: 15.92 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.6656, allocations: 3.938 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.6656, allocations: 3.906 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.6656, allocations: 32 / 1.024 GB, free: 13.29 MB / 0.7794 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 6.4e-05/0.6657, allocations: 113.8 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.6657, allocations: 336 / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.6658, allocations: 57.11 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.6658, allocations: 4 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6658, allocations: 3.953 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.6658, allocations: 0 / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.6659, allocations: 149.7 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.666, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.666, allocations: 15.94 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.666, allocations: 3.984 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.666, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.666, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.666, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.6661, allocations: 73.08 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.6662, allocations: 77.11 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.6662, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.6662, allocations: 8.094 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.6662, allocations: 3.984 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.6663, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.6663, allocations: 79.23 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6663, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000274/0.6666, allocations: 52 kB / 1.025 GB, free: 12.55 MB / 0.7794 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.0003147/0.6669, allocations: 167.2 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.667, allocations: 20 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.667, allocations: 3.938 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.667, allocations: 7.984 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.691e-05/0.6671, allocations: 1.891 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.6673, allocations: 108.9 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.6676, allocations: 0.6731 MB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.6676, allocations: 11.92 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.6676, allocations: 7.5 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6676, allocations: 4 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.003467/0.6711, allocations: 1.224 MB / 1.027 GB, free: 10.27 MB / 0.7794 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