Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006266/0.006266, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001123/0.001123, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.19 kB / 0.9508 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3172, allocations: 140.4 MB / 1.088 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01082/0.328, allocations: 10.12 MB / 1.098 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002789/0.3309, allocations: 2.222 MB / 1.1 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.3311, allocations: 11.94 kB / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.3316, allocations: 99.3 kB / 1.1 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.3323, allocations: 262.7 kB / 1.1 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.333, allocations: 239.7 kB / 1.101 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.3335, allocations: 427.6 kB / 1.101 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.3337, allocations: 152 kB / 1.101 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.3341, allocations: 215.1 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3343, allocations: 107.5 kB / 1.101 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3343, allocations: 12 kB / 1.101 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.3346, allocations: 163.7 kB / 1.102 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.3347, allocations: 43.83 kB / 1.102 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.3348, allocations: 75.59 kB / 1.102 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.3352, allocations: 247.1 kB / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3352, allocations: 0 / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3352, allocations: 0 / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3352, allocations: 0 / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006306/0.3358, allocations: 482.5 kB / 1.102 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3359, allocations: 11.97 kB / 1.102 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.3359, allocations: 20.8 kB / 1.102 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3363, allocations: 253 kB / 1.103 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.3364, allocations: 16.38 kB / 1.103 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3364, allocations: 8.375 kB / 1.103 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.3367, allocations: 148.3 kB / 1.103 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3367, allocations: 0 / 1.103 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3368, allocations: 7.938 kB / 1.103 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3368, allocations: 4 kB / 1.103 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.337, allocations: 83.94 kB / 1.103 GB, free: 2.133 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/0.3378, allocations: 0.5435 MB / 1.103 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.338, allocations: 97.12 kB / 1.104 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.3381, allocations: 53.8 kB / 1.104 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.3384, allocations: 340.4 kB / 1.104 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3384, allocations: 38.5 kB / 1.104 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3385, allocations: 0 / 1.104 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005022/0.339, allocations: 161.5 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.339, allocations: 81.11 kB / 1.104 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3392, allocations: 190.3 kB / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3392, allocations: 29.7 kB / 1.104 GB, free: 428 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.3393, allocations: 116.1 kB / 1.105 GB, free: 308 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3393, allocations: 23.75 kB / 1.105 GB, free: 284 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.3394, allocations: 29.83 kB / 1.105 GB, free: 248 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3395, allocations: 326.8 kB / 1.105 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3396, allocations: 35.97 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3398, allocations: 67.33 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.34, allocations: 98.52 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.34, allocations: 0 / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000294/0.3403, allocations: 133.4 kB / 1.105 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3404, allocations: 4 kB / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3404, allocations: 4 kB / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3404, allocations: 0 / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3406, allocations: 43.95 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3406, allocations: 0 / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3408, allocations: 19.92 kB / 1.105 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.3408, allocations: 4 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001017/0.3409, allocations: 126.4 kB / 1.105 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.341, allocations: 19.84 kB / 1.105 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.3412, allocations: 138.5 kB / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3412, allocations: 0 / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3412, allocations: 4 kB / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3412, allocations: 0 / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.3418, allocations: 473.1 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3418, allocations: 7.938 kB / 1.106 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.342, allocations: 40.05 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.342, allocations: 4 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.342, allocations: 0 / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.342, allocations: 4 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.342, allocations: 0 / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.3424, allocations: 349.1 kB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.3425, allocations: 108.9 kB / 1.106 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3425, allocations: 4 kB / 1.106 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.3427, allocations: 11.98 kB / 1.106 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.3427, allocations: 15.92 kB / 1.107 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3427, allocations: 8 kB / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001021/0.3428, allocations: 136.5 kB / 1.107 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3428, allocations: 3.938 kB / 1.107 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003535/0.3432, allocations: 51.88 kB / 1.107 GB, free: 13.89 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004033/0.3436, allocations: 180 kB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.3439, allocations: 107.8 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.344, allocations: 0 / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.3441, allocations: 63.89 kB / 1.107 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.3447, allocations: 69.75 kB / 1.107 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.3453, allocations: 341.4 kB / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3456, allocations: 0.7241 MB / 1.108 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.755e-05/0.3457, allocations: 29.34 kB / 1.108 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.3457, allocations: 19.44 kB / 1.108 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.3457, allocations: 0 / 1.108 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.006847/0.3526, allocations: 3.294 MB / 1.111 GB, free: 9.059 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches