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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001621/0.001621, allocations: 110.6 kB / 16.41 MB, free: 6.477 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.001787/0.001787, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.651/2.651, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 71.88 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7197, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005357/0.7251, allocations: 3.75 MB / 1.23 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00813/0.7332, allocations: 4.89 MB / 1.235 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.7338, allocations: 15.94 kB / 1.235 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.7374, allocations: 1.408 MB / 1.236 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.739, allocations: 0.7937 MB / 1.237 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.7408, allocations: 0.8462 MB / 1.238 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01943/0.7603, allocations: 12.81 MB / 1.25 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.7606, allocations: 93.75 kB / 1.25 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.7617, allocations: 0.584 MB / 1.251 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009094/0.7626, allocations: 0.5915 MB / 1.252 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.7628, allocations: 68 kB / 1.252 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.7644, allocations: 0.8306 MB / 1.252 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007916/0.7652, allocations: 0.8065 MB / 1.253 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.7665, allocations: 0.8352 MB / 1.254 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.7698, allocations: 2.556 MB / 1.257 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7699, allocations: 4 kB / 1.257 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7699, allocations: 0 / 1.257 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.441e-05/0.7699, allocations: 0 / 1.257 GB, free: 14.58 MB / 0.9825 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.004436/0.7744, allocations: 2.257 MB / 1.259 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7744, allocations: 8.031 kB / 1.259 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.777, allocations: 494.3 kB / 1.259 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/0.7818, allocations: 2.838 MB / 1.262 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.7818, allocations: 24 kB / 1.262 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.7819, allocations: 32 kB / 1.262 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.7832, allocations: 0.6494 MB / 1.263 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7832, allocations: 0 / 1.263 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.7833, allocations: 12 kB / 1.263 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7833, allocations: 8 kB / 1.263 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.7847, allocations: 0.527 MB / 1.263 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.7886, allocations: 2.225 MB / 1.265 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.7902, allocations: 0.7014 MB / 1.266 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007383/0.791, allocations: 280.6 kB / 1.266 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.791, allocations: 19.92 kB / 1.266 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.7911, allocations: 34.56 kB / 1.266 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.7911, allocations: 0 / 1.266 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.002642/0.7937, allocations: 1.027 MB / 1.267 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.7938, allocations: 51.52 kB / 1.267 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.7974, allocations: 2.684 MB / 1.27 GB, free: 464 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/0.7975, allocations: 37.7 kB / 1.27 GB, free: 420 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006071/0.7981, allocations: 0.6686 MB / 1.271 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.7982, allocations: 91.36 kB / 1.271 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.7987, allocations: 342.4 kB / 1.271 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.7988, allocations: 309.1 kB / 1.271 GB, free: 15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.8004, allocations: 1.103 MB / 1.273 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.8023, allocations: 1.444 MB / 1.274 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.8055, allocations: 2.332 MB / 1.276 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8056, allocations: 0 / 1.276 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004144/0.8097, allocations: 2.747 MB / 1.279 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.8097, allocations: 9.406 kB / 1.279 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.8098, allocations: 8 kB / 1.279 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.8098, allocations: 12 kB / 1.279 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8108, allocations: 259.7 kB / 1.279 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.8109, allocations: 15.94 kB / 1.279 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8123, allocations: 223 kB / 1.279 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.8125, allocations: 79.97 kB / 1.279 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002033/0.8145, allocations: 1.389 MB / 1.281 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001707/0.8162, allocations: 1.3 MB / 1.282 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00289/0.8191, allocations: 2.02 MB / 1.284 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.8192, allocations: 0 / 1.284 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.003815/0.823, allocations: 2.429 MB / 1.286 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.823, allocations: 8 kB / 1.286 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.823, allocations: 12.03 kB / 1.286 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8231, allocations: 12 kB / 1.286 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.824, allocations: 247.6 kB / 1.287 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.8241, allocations: 19.98 kB / 1.287 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.8255, allocations: 179.3 kB / 1.287 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.8257, allocations: 67.98 kB / 1.287 GB, free: 14.67 MB / 1.014 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.0002345/0.8259, allocations: 239.9 kB / 1.287 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.8262, allocations: 182.7 kB / 1.287 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.8282, allocations: 0.7985 MB / 1.288 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.8282, allocations: 7.969 kB / 1.288 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8282, allocations: 0 / 1.288 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/0.8288, allocations: 371.6 kB / 1.288 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.8291, allocations: 3.938 kB / 1.288 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000998/0.8301, allocations: 87.89 kB / 1.289 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.8302, allocations: 23.91 kB / 1.289 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001906/0.8321, allocations: 0.7251 MB / 1.289 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001776/0.8339, allocations: 0.9387 MB / 1.29 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007042/0.8346, allocations: 293 kB / 1.291 GB, free: 10.97 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002644/0.8373, allocations: 1.827 MB / 1.292 GB, free: 9.125 MB / 1.014 GB Notification: Performance of Backend: time 4.31e-07/0.8373, allocations: 7.938 kB / 1.292 GB, free: 9.117 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005103/0.8424, allocations: 2.855 MB / 1.295 GB, free: 6.254 MB / 1.014 GB Notification: Performance of SimCode: time 0.006207/0.8486, allocations: 4.072 MB / 1.299 GB, free: 2.133 MB / 1.014 GB Notification: Performance of Templates: time 0.0677/0.9164, allocations: 42.96 MB / 1.341 GB, free: 7.785 MB / 1.061 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