Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta1|eta2|P1|P2|eff1.dp|eff1.r_N",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.00176/0.00176, allocations: 186.6 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.534/2.534, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6799, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005806/0.6857, allocations: 3.751 MB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00751/0.6933, allocations: 4.875 MB / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.6937, allocations: 15.94 kB / 1.217 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.6968, allocations: 1.412 MB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.6981, allocations: 0.7781 MB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.6997, allocations: 0.8578 MB / 1.22 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01683/0.7165, allocations: 12.79 MB / 1.232 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.7168, allocations: 93.75 kB / 1.232 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/0.7178, allocations: 0.584 MB / 1.233 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.7187, allocations: 0.5876 MB / 1.234 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.7189, allocations: 72 kB / 1.234 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.7203, allocations: 0.8229 MB / 1.234 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006809/0.721, allocations: 0.8026 MB / 1.235 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009758/0.722, allocations: 0.8469 MB / 1.236 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.7247, allocations: 2.535 MB / 1.239 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.7247, allocations: 0 / 1.239 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7247, allocations: 0 / 1.239 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.459e-05/0.7248, allocations: 0 / 1.239 GB, free: 14.72 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.004115/0.7289, allocations: 2.188 MB / 1.241 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.729, allocations: 12.03 kB / 1.241 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.7316, allocations: 489.2 kB / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.736, allocations: 2.824 MB / 1.244 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.7361, allocations: 23.94 kB / 1.244 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.7362, allocations: 43.92 kB / 1.244 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.7375, allocations: 0.6456 MB / 1.245 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.7375, allocations: 0 / 1.245 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.7376, allocations: 4 kB / 1.245 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.7376, allocations: 4 kB / 1.245 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.7391, allocations: 0.5308 MB / 1.245 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.7429, allocations: 2.237 MB / 1.247 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.7446, allocations: 0.6897 MB / 1.248 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007368/0.7453, allocations: 288.7 kB / 1.248 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.7454, allocations: 3.938 kB / 1.248 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.7454, allocations: 38.56 kB / 1.248 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.7454, allocations: 0 / 1.248 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.002769/0.7482, allocations: 1.022 MB / 1.249 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.7482, allocations: 55.41 kB / 1.249 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/0.7518, allocations: 2.672 MB / 1.252 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-05/0.7519, allocations: 41.7 kB / 1.252 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.7525, allocations: 0.6722 MB / 1.253 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.619e-05/0.7526, allocations: 78.94 kB / 1.253 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000482/0.7531, allocations: 354.2 kB / 1.253 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.7532, allocations: 305.1 kB / 1.253 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.7548, allocations: 1.095 MB / 1.254 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.7567, allocations: 1.44 MB / 1.256 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.7599, allocations: 2.325 MB / 1.258 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.7599, allocations: 4 kB / 1.258 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004149/0.764, allocations: 2.737 MB / 1.261 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.7641, allocations: 8 kB / 1.261 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.7641, allocations: 4 kB / 1.261 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.7641, allocations: 15.98 kB / 1.261 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.7652, allocations: 263.6 kB / 1.261 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/0.7652, allocations: 23.91 kB / 1.261 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.7668, allocations: 206.4 kB / 1.261 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.7669, allocations: 79.98 kB / 1.261 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002031/0.769, allocations: 1.389 MB / 1.263 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001687/0.7707, allocations: 1.292 MB / 1.264 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004419/0.7751, allocations: 2.023 MB / 1.266 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.296e-06/0.7751, allocations: 0 / 1.266 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.006477/0.7816, allocations: 2.428 MB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.7817, allocations: 8 kB / 1.268 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.7817, allocations: 4 kB / 1.268 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.7817, allocations: 12 kB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.7834, allocations: 251.7 kB / 1.269 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.268e-05/0.7834, allocations: 19.88 kB / 1.269 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.7861, allocations: 179.7 kB / 1.269 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.7863, allocations: 68.08 kB / 1.269 GB, free: 14.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.7868, allocations: 243.7 kB / 1.269 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/0.7873, allocations: 169.7 kB / 1.269 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.7908, allocations: 0.804 MB / 1.27 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7908, allocations: 0 / 1.27 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7908, allocations: 4 kB / 1.27 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.7919, allocations: 346.6 kB / 1.27 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/0.7924, allocations: 11.97 kB / 1.27 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/0.7942, allocations: 91.89 kB / 1.27 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.7943, allocations: 15.92 kB / 1.27 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003687/0.798, allocations: 0.7326 MB / 1.271 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003717/0.8018, allocations: 0.9286 MB / 1.272 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001464/0.8032, allocations: 291.8 kB / 1.272 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005375/0.8086, allocations: 1.827 MB / 1.274 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of Backend: time 1.062e-06/0.8087, allocations: 0 / 1.274 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009833/0.8185, allocations: 2.869 MB / 1.277 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of SimCode: time 0.0122/0.8307, allocations: 4.008 MB / 1.281 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.1306/0.9614, allocations: 42.98 MB / 1.323 GB, free: 8.133 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches