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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001256/0.001256, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001126/0.001127, allocations: 191 kB / 17.29 MB, free: 5.516 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.59 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005012/0.2939, allocations: 3.772 MB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008828/0.3028, allocations: 4.879 MB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.3035, allocations: 15.94 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.3138, allocations: 5.666 MB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.316, allocations: 0.7703 MB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.318, allocations: 0.8462 MB / 1.034 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0197/0.3377, allocations: 12.76 MB / 1.047 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.3381, allocations: 97.75 kB / 1.047 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.3391, allocations: 0.5411 MB / 1.047 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.3398, allocations: 0.5759 MB / 1.048 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.3399, allocations: 72 kB / 1.048 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3415, allocations: 0.8267 MB / 1.049 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006867/0.3422, allocations: 0.7948 MB / 1.05 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007317/0.3429, allocations: 0.8391 MB / 1.05 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.3458, allocations: 2.527 MB / 1.053 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3458, allocations: 0 / 1.053 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3458, allocations: 0 / 1.053 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.3459, allocations: 3.938 kB / 1.053 GB, free: 6.75 MB / 0.8262 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.004057/0.3499, allocations: 2.172 MB / 1.055 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.35, allocations: 12.02 kB / 1.055 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.3526, allocations: 485.3 kB / 1.056 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/0.3575, allocations: 2.73 MB / 1.058 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.3576, allocations: 28 kB / 1.058 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.452e-05/0.3577, allocations: 28 kB / 1.058 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.3591, allocations: 0.6533 MB / 1.059 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3591, allocations: 0 / 1.059 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.3591, allocations: 12 kB / 1.059 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3591, allocations: 8 kB / 1.059 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.3606, allocations: 0.5268 MB / 1.059 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.3651, allocations: 2.209 MB / 1.062 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3668, allocations: 0.7014 MB / 1.062 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.3675, allocations: 288.6 kB / 1.063 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.3675, allocations: 7.922 kB / 1.063 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3676, allocations: 34.56 kB / 1.063 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.3676, allocations: 0 / 1.063 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.002748/0.3703, allocations: 1.024 MB / 1.064 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3704, allocations: 55.52 kB / 1.064 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.374, allocations: 2.609 MB / 1.066 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.3741, allocations: 37.7 kB / 1.066 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.3747, allocations: 0.6605 MB / 1.067 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.3749, allocations: 86.91 kB / 1.067 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000498/0.3754, allocations: 358.2 kB / 1.067 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3755, allocations: 301.1 kB / 1.068 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.3771, allocations: 1.091 MB / 1.069 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.379, allocations: 1.444 MB / 1.07 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.3822, allocations: 2.317 MB / 1.072 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.3822, allocations: 7.938 kB / 1.072 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.5165/0.8987, allocations: 2.732 MB / 1.075 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.8988, allocations: 8.25 kB / 1.075 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.8989, allocations: 7.703 kB / 1.075 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.597e-05/0.8989, allocations: 11.56 kB / 1.075 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.9009, allocations: 258.2 kB / 1.075 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-05/0.901, allocations: 17.88 kB / 1.075 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/0.9036, allocations: 214.1 kB / 1.075 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/0.904, allocations: 77.73 kB / 1.076 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003345/0.9073, allocations: 1.393 MB / 1.077 GB, free: 60.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00236/0.9097, allocations: 1.294 MB / 1.078 GB, free: 60.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003291/0.913, allocations: 2.011 MB / 1.08 GB, free: 59.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.554e-05/0.9131, allocations: 2.312 kB / 1.08 GB, free: 59.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004434/0.9175, allocations: 2.433 MB / 1.083 GB, free: 58.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9175, allocations: 8.578 kB / 1.083 GB, free: 58.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.9176, allocations: 7.656 kB / 1.083 GB, free: 58.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.9176, allocations: 11.44 kB / 1.083 GB, free: 58.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.9187, allocations: 252.5 kB / 1.083 GB, free: 58.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/0.9187, allocations: 16.39 kB / 1.083 GB, free: 58.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.9204, allocations: 178.3 kB / 1.083 GB, free: 58.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.9206, allocations: 68.16 kB / 1.083 GB, free: 58.68 MB / 0.8419 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.000303/0.9209, allocations: 228.9 kB / 1.083 GB, free: 58.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.9212, allocations: 175.2 kB / 1.083 GB, free: 58.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.9234, allocations: 0.8051 MB / 1.084 GB, free: 58.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9234, allocations: 2.625 kB / 1.084 GB, free: 58.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9234, allocations: 0.9375 kB / 1.084 GB, free: 58.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.9234, allocations: 1.266 kB / 1.084 GB, free: 58.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.925, allocations: 1.063 MB / 1.085 GB, free: 57.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.925, allocations: 0 / 1.085 GB, free: 57.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.9256, allocations: 89.86 kB / 1.085 GB, free: 57.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.9256, allocations: 1.156 kB / 1.085 GB, free: 57.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.9256, allocations: 11.16 kB / 1.085 GB, free: 57.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.9256, allocations: 2.875 kB / 1.085 GB, free: 57.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9256, allocations: 0 / 1.085 GB, free: 57.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.9274, allocations: 0.8605 MB / 1.086 GB, free: 57.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.9281, allocations: 352.4 kB / 1.087 GB, free: 57.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.9283, allocations: 4.859 kB / 1.087 GB, free: 57.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/0.9292, allocations: 84.84 kB / 1.087 GB, free: 57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.9293, allocations: 18.8 kB / 1.087 GB, free: 57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.9293, allocations: 20.83 kB / 1.087 GB, free: 57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00269/0.932, allocations: 1.778 MB / 1.088 GB, free: 56.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.11e-07/0.932, allocations: 0 / 1.088 GB, free: 56.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002063/0.9341, allocations: 0.6781 MB / 1.089 GB, free: 56.28 MB / 0.8419 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.000802/0.9349, allocations: 391.1 kB / 1.089 GB, free: 56.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004597/0.9395, allocations: 2.779 MB / 1.092 GB, free: 55.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.9395, allocations: 1.062 kB / 1.092 GB, free: 55.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.9403, allocations: 296.6 kB / 1.092 GB, free: 55.26 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/0.9435, allocations: 0.9074 MB / 1.093 GB, free: 55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.9488, allocations: 2.966 MB / 1.096 GB, free: 53.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.9499, allocations: 1.416 MB / 1.098 GB, free: 52.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002006/0.9519, allocations: 0.5216 MB / 1.098 GB, free: 52.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/0.9524, allocations: 140.1 kB / 1.098 GB, free: 52.72 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/0.9524, allocations: 0 / 1.098 GB, free: 52.72 MB / 0.8419 GB Notification: Performance of Templates: time 0.05691/1.009, allocations: 38.54 MB / 1.136 GB, free: 33.55 MB / 0.8419 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 -s cvode -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