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.008256/0.008256, allocations: 98.08 kB / 15.73 MB, free: 6.035 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.001806/0.001806, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.62/2.62, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3082, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005109/0.3133, allocations: 3.75 MB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007823/0.3212, allocations: 4.885 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.3217, allocations: 23.88 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003716/0.3255, allocations: 1.405 MB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.3272, allocations: 0.782 MB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.329, allocations: 0.8422 MB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01891/0.3479, allocations: 12.79 MB / 1.191 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.3482, allocations: 97.73 kB / 1.191 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009663/0.3492, allocations: 0.5567 MB / 1.191 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.3499, allocations: 0.5914 MB / 1.192 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.3501, allocations: 72 kB / 1.192 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.3516, allocations: 0.8306 MB / 1.193 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006707/0.3523, allocations: 0.7987 MB / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007417/0.353, allocations: 0.843 MB / 1.194 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.3559, allocations: 2.549 MB / 1.197 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3559, allocations: 0 / 1.197 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3559, allocations: 0 / 1.197 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.731e-05/0.356, allocations: 0 / 1.197 GB, free: 7.879 MB / 0.9512 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.003772/0.3597, allocations: 2.265 MB / 1.199 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3598, allocations: 8.031 kB / 1.199 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.3623, allocations: 0.4905 MB / 1.199 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004523/0.3668, allocations: 2.834 MB / 1.202 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3669, allocations: 20 kB / 1.202 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.3669, allocations: 28 kB / 1.202 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3683, allocations: 0.6688 MB / 1.203 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3683, allocations: 0 / 1.203 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.3684, allocations: 8 kB / 1.203 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3684, allocations: 4 kB / 1.203 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.3699, allocations: 0.5308 MB / 1.203 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.3736, allocations: 2.229 MB / 1.206 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3753, allocations: 0.6974 MB / 1.206 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.3761, allocations: 284.7 kB / 1.207 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.3762, allocations: 11.92 kB / 1.207 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3762, allocations: 30.56 kB / 1.207 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.3762, allocations: 0 / 1.207 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.002805/0.379, allocations: 1.041 MB / 1.208 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.3791, allocations: 51.41 kB / 1.208 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/0.3826, allocations: 2.68 MB / 1.21 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.3827, allocations: 37.7 kB / 1.21 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006125/0.3833, allocations: 0.6687 MB / 1.211 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.3834, allocations: 83.36 kB / 1.211 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004824/0.3839, allocations: 350.4 kB / 1.211 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.384, allocations: 305.1 kB / 1.212 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.3858, allocations: 1.095 MB / 1.213 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.3877, allocations: 1.444 MB / 1.214 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.391, allocations: 2.332 MB / 1.216 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.391, allocations: 3.938 kB / 1.216 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004139/0.3951, allocations: 2.739 MB / 1.219 GB, free: 464 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3952, allocations: 8 kB / 1.219 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3952, allocations: 12.03 kB / 1.219 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3952, allocations: 12 kB / 1.219 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3962, allocations: 259.7 kB / 1.219 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.3963, allocations: 19.98 kB / 1.219 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.3977, allocations: 215.2 kB / 1.22 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.3979, allocations: 79.86 kB / 1.22 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002065/0.3999, allocations: 1.397 MB / 1.221 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001809/0.4017, allocations: 1.288 MB / 1.222 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002896/0.4047, allocations: 2.015 MB / 1.224 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.033e-06/0.4047, allocations: 7.984 kB / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.003967/0.4087, allocations: 2.44 MB / 1.227 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4087, allocations: 8 kB / 1.227 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4087, allocations: 11.98 kB / 1.227 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4087, allocations: 12 kB / 1.227 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/0.4097, allocations: 251.7 kB / 1.227 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.4097, allocations: 15.94 kB / 1.227 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4113, allocations: 179.3 kB / 1.227 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4114, allocations: 67.92 kB / 1.227 GB, free: 7.965 MB / 0.9825 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.0003021/0.4117, allocations: 235.9 kB / 1.227 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.4122, allocations: 182.7 kB / 1.228 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.4145, allocations: 0.8002 MB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4145, allocations: 4 kB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4145, allocations: 0 / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4145, allocations: 0 / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.4162, allocations: 1.051 MB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4162, allocations: 0 / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.4168, allocations: 95.86 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4168, allocations: 0 / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.4168, allocations: 11.98 kB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4168, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4168, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.4188, allocations: 0.879 MB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.4195, allocations: 367.6 kB / 1.231 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.4198, allocations: 0 / 1.231 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/0.4207, allocations: 95.88 kB / 1.231 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.4208, allocations: 23.86 kB / 1.231 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.4208, allocations: 19.98 kB / 1.231 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002507/0.4233, allocations: 1.827 MB / 1.233 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4234, allocations: 0 / 1.233 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00172/0.4251, allocations: 0.6792 MB / 1.233 GB, free: 1.582 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007732/0.4259, allocations: 386.6 kB / 1.234 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004303/0.4302, allocations: 2.764 MB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4302, allocations: 0 / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.4309, allocations: 295.9 kB / 1.237 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.4337, allocations: 0.9046 MB / 1.238 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.4379, allocations: 2.908 MB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.4389, allocations: 1.42 MB / 1.242 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001434/0.4404, allocations: 0.5101 MB / 1.242 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.4408, allocations: 147.3 kB / 1.242 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.4408, allocations: 0 / 1.242 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of Templates: time 0.6079/1.049, allocations: 38.84 MB / 1.28 GB, free: 73.41 MB / 0.9981 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/jenkins/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