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.001501/0.001501, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001828/0.001828, allocations: 193.6 kB / 16.26 MB, free: 6.152 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.402 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.449/2.449, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7319, allocations: 140.4 MB / 0.9491 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01094/0.7429, allocations: 10.1 MB / 0.959 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.7457, allocations: 2.205 MB / 0.9611 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.7462, allocations: 8.062 kB / 0.9611 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.7468, allocations: 82.5 kB / 0.9612 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009923/0.7479, allocations: 236.6 kB / 0.9614 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008443/0.7487, allocations: 211.3 kB / 0.9616 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000644/0.7494, allocations: 432.7 kB / 0.962 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.7497, allocations: 137.4 kB / 0.9622 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.7501, allocations: 210 kB / 0.9624 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.7504, allocations: 124.7 kB / 0.9625 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.7504, allocations: 10 kB / 0.9625 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.7508, allocations: 158.2 kB / 0.9627 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.7508, allocations: 42.48 kB / 0.9627 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.325e-05/0.7509, allocations: 73.61 kB / 0.9628 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.7514, allocations: 244.2 kB / 0.963 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7514, allocations: 0 / 0.963 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7514, allocations: 4 kB / 0.963 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.7514, allocations: 1.062 kB / 0.963 GB, free: 13.91 MB / 0.7325 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.0006905/0.7521, allocations: 468 kB / 0.9634 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.7522, allocations: 9.406 kB / 0.9635 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.7522, allocations: 18.12 kB / 0.9635 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.7525, allocations: 248.8 kB / 0.9637 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.7526, allocations: 9.406 kB / 0.9637 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.7526, allocations: 11.91 kB / 0.9637 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.7529, allocations: 148.3 kB / 0.9639 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.753, allocations: 1.062 kB / 0.9639 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.753, allocations: 5.094 kB / 0.9639 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.753, allocations: 2.531 kB / 0.9639 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.7533, allocations: 88.69 kB / 0.964 GB, free: 13.03 MB / 0.7325 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.0008031/0.7541, allocations: 0.5407 MB / 0.9645 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.7543, allocations: 95.23 kB / 0.9646 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.7544, allocations: 55.06 kB / 0.9646 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.7548, allocations: 335.4 kB / 0.965 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7548, allocations: 43.84 kB / 0.965 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.7548, allocations: 0 / 0.965 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005339/0.7553, allocations: 159 kB / 0.9651 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.7554, allocations: 82.08 kB / 0.9652 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.7556, allocations: 186.8 kB / 0.9654 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.7556, allocations: 26.92 kB / 0.9654 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.7557, allocations: 119.6 kB / 0.9655 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.7558, allocations: 23.62 kB / 0.9656 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.7558, allocations: 35 kB / 0.9656 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7559, allocations: 325.5 kB / 0.9659 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.7561, allocations: 35.14 kB / 0.9659 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.7562, allocations: 69.89 kB / 0.966 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.7564, allocations: 97.98 kB / 0.9661 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7565, allocations: 0 / 0.9661 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002973/0.7568, allocations: 136.2 kB / 0.9662 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7568, allocations: 4.844 kB / 0.9662 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7568, allocations: 5.406 kB / 0.9662 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.7568, allocations: 1.25 kB / 0.9662 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.757, allocations: 34.64 kB / 0.9663 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.757, allocations: 3.875 kB / 0.9663 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.7572, allocations: 13.23 kB / 0.9663 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.7572, allocations: 3.938 kB / 0.9663 GB, free: 10.88 MB / 0.7325 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.000111/0.7573, allocations: 135.5 kB / 0.9664 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.7574, allocations: 26.84 kB / 0.9665 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.7576, allocations: 130.2 kB / 0.9666 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.7576, allocations: 1.094 kB / 0.9666 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7577, allocations: 1.312 kB / 0.9666 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7577, allocations: 1 kB / 0.9666 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.7582, allocations: 473.5 kB / 0.967 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.7583, allocations: 1.094 kB / 0.967 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.7584, allocations: 39.05 kB / 0.9671 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.7585, allocations: 1.438 kB / 0.9671 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.7585, allocations: 2.344 kB / 0.9671 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7585, allocations: 2.406 kB / 0.9671 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.7585, allocations: 1.531 kB / 0.9671 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.7589, allocations: 348.9 kB / 0.9674 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.759, allocations: 105.1 kB / 0.9675 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.759, allocations: 2.688 kB / 0.9675 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.7591, allocations: 16.83 kB / 0.9675 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.7592, allocations: 16.73 kB / 0.9675 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.7592, allocations: 3.75 kB / 0.9676 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001193/0.7593, allocations: 135.8 kB / 0.9677 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7593, allocations: 0 / 0.9677 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003748/0.7597, allocations: 52.44 kB / 0.9677 GB, free: 9.629 MB / 0.7325 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.0004453/0.7602, allocations: 188.9 kB / 0.9679 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.7605, allocations: 108.2 kB / 0.968 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7605, allocations: 0 / 0.968 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.7607, allocations: 67.77 kB / 0.9681 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.7614, allocations: 70.62 kB / 0.9681 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.762, allocations: 399.8 kB / 0.9685 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.7623, allocations: 0.7267 MB / 0.9692 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.7625, allocations: 34.55 kB / 0.9693 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.7625, allocations: 16.41 kB / 0.9693 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7625, allocations: 0 / 0.9693 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of Templates: time 0.007708/0.7702, allocations: 3.2 MB / 0.9724 GB, free: 6.699 MB / 0.7325 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