Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001342/0.001342, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001403/0.001403, allocations: 186.7 kB / 17.35 MB, free: 5.723 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 72.09 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7244, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004843/0.7293, allocations: 3.758 MB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007404/0.7367, allocations: 4.89 MB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000571/0.7373, allocations: 15.94 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.7408, allocations: 1.406 MB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.7424, allocations: 0.7898 MB / 1.178 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.7442, allocations: 0.8515 MB / 1.179 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01814/0.7624, allocations: 12.8 MB / 1.191 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.7627, allocations: 93.75 kB / 1.191 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.7638, allocations: 0.5801 MB / 1.192 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.7647, allocations: 0.5876 MB / 1.192 GB, free: 9.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.765, allocations: 72 kB / 1.193 GB, free: 9.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.7666, allocations: 0.8306 MB / 1.193 GB, free: 9.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007961/0.7674, allocations: 0.7987 MB / 1.194 GB, free: 8.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.7685, allocations: 0.8391 MB / 1.195 GB, free: 7.426 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.7715, allocations: 2.535 MB / 1.197 GB, free: 4.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7715, allocations: 4 kB / 1.197 GB, free: 4.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7715, allocations: 4 kB / 1.197 GB, free: 4.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.309e-05/0.7716, allocations: 0 / 1.197 GB, free: 4.875 MB / 0.92 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.004708/0.7763, allocations: 2.196 MB / 1.2 GB, free: 2.617 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7763, allocations: 12.02 kB / 1.2 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.779, allocations: 485.2 kB / 1.2 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/0.784, allocations: 2.816 MB / 1.203 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.784, allocations: 27.94 kB / 1.203 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.7841, allocations: 32 kB / 1.203 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.7854, allocations: 0.6572 MB / 1.204 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7855, allocations: 3.938 kB / 1.204 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.7855, allocations: 4 kB / 1.204 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.7855, allocations: 8 kB / 1.204 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.7871, allocations: 0.527 MB / 1.204 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.791, allocations: 2.232 MB / 1.206 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.7927, allocations: 0.6975 MB / 1.207 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/0.7934, allocations: 280.7 kB / 1.207 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.7935, allocations: 11.94 kB / 1.207 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.7935, allocations: 30.56 kB / 1.207 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.7935, allocations: 0 / 1.207 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.002734/0.7962, allocations: 1.027 MB / 1.208 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.7963, allocations: 55.41 kB / 1.208 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.7996, allocations: 2.676 MB / 1.211 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.7997, allocations: 33.7 kB / 1.211 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.8002, allocations: 0.6722 MB / 1.212 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.8003, allocations: 78.94 kB / 1.212 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.8008, allocations: 354.2 kB / 1.212 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.8009, allocations: 309.1 kB / 1.212 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.8025, allocations: 1.087 MB / 1.213 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.8043, allocations: 1.46 MB / 1.215 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.8074, allocations: 2.321 MB / 1.217 GB, free: 320 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.8074, allocations: 4.062 kB / 1.217 GB, free: 316 kB / 0.9356 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003978/0.8114, allocations: 2.737 MB / 1.22 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8114, allocations: 11.98 kB / 1.22 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.8115, allocations: 8 kB / 1.22 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.8115, allocations: 8 kB / 1.22 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.8125, allocations: 255.7 kB / 1.22 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.8126, allocations: 19.92 kB / 1.22 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.814, allocations: 210.9 kB / 1.22 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.8141, allocations: 79.98 kB / 1.22 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001973/0.8161, allocations: 1.397 MB / 1.222 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001676/0.8178, allocations: 1.289 MB / 1.223 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002836/0.8206, allocations: 2.019 MB / 1.225 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.8206, allocations: 0 / 1.225 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.003684/0.8243, allocations: 2.42 MB / 1.227 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8243, allocations: 11.94 kB / 1.227 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.8244, allocations: 16.02 kB / 1.227 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8244, allocations: 12 kB / 1.227 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/0.8254, allocations: 247.6 kB / 1.228 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.8254, allocations: 19.92 kB / 1.228 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.8269, allocations: 175.7 kB / 1.228 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.827, allocations: 67.97 kB / 1.228 GB, free: 5.102 MB / 0.9512 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.0002289/0.8272, allocations: 239.9 kB / 1.228 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.8275, allocations: 165.7 kB / 1.228 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.8295, allocations: 0.8101 MB / 1.229 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8295, allocations: 0 / 1.229 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8295, allocations: 0 / 1.229 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/0.8303, allocations: 354.6 kB / 1.229 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.8306, allocations: 8 kB / 1.229 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8316, allocations: 79.89 kB / 1.229 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.8317, allocations: 19.92 kB / 1.229 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001957/0.8336, allocations: 0.7386 MB / 1.23 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001801/0.8355, allocations: 0.9329 MB / 1.231 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007314/0.8362, allocations: 291.7 kB / 1.231 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002807/0.839, allocations: 1.827 MB / 1.233 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of Backend: time 4.91e-07/0.839, allocations: 3.938 kB / 1.233 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005169/0.8442, allocations: 2.859 MB / 1.236 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of SimCode: time 0.00628/0.8505, allocations: 4.016 MB / 1.24 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of Templates: time 0.06606/0.9166, allocations: 42.98 MB / 1.282 GB, free: 14.26 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches