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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007334/0.007334, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.001662/0.001662, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.556/1.556, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.717, allocations: 140.4 MB / 0.9496 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01252/0.7295, allocations: 10.12 MB / 0.9595 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.7327, allocations: 2.216 MB / 0.9616 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.7329, allocations: 7.594 kB / 0.9616 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.7335, allocations: 82.28 kB / 0.9617 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.7341, allocations: 232 kB / 0.9619 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.7347, allocations: 209.7 kB / 0.9621 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.7354, allocations: 0.596 MB / 0.9627 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.7357, allocations: 116.1 kB / 0.9628 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.7362, allocations: 201 kB / 0.963 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.7364, allocations: 113.7 kB / 0.9631 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.7365, allocations: 6.156 kB / 0.9631 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.7369, allocations: 154 kB / 0.9633 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.737, allocations: 38.42 kB / 0.9633 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.7371, allocations: 69.2 kB / 0.9634 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.7374, allocations: 171.1 kB / 0.9635 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7374, allocations: 1.125 kB / 0.9635 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7375, allocations: 0 / 0.9635 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.7375, allocations: 4 kB / 0.9636 GB, free: 13.95 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.0007991/0.7383, allocations: 464.6 kB / 0.964 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.7383, allocations: 9.594 kB / 0.964 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.7384, allocations: 17.81 kB / 0.964 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.7387, allocations: 241.1 kB / 0.9643 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.7388, allocations: 9.281 kB / 0.9643 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.7388, allocations: 12.41 kB / 0.9643 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.7392, allocations: 148.1 kB / 0.9644 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7392, allocations: 7.875 kB / 0.9644 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.7392, allocations: 9.172 kB / 0.9644 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7392, allocations: 2.688 kB / 0.9644 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.7395, allocations: 94.69 kB / 0.9645 GB, free: 13.07 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.0008505/0.7404, allocations: 0.5416 MB / 0.9651 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.7406, allocations: 94.45 kB / 0.9651 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.7408, allocations: 56 kB / 0.9652 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.7411, allocations: 334.4 kB / 0.9655 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.7411, allocations: 36.03 kB / 0.9655 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.7411, allocations: 0 / 0.9655 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005492/0.7417, allocations: 166 kB / 0.9657 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.7417, allocations: 78.52 kB / 0.9658 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.7419, allocations: 184.4 kB / 0.966 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.742, allocations: 27.08 kB / 0.966 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.7421, allocations: 118.6 kB / 0.9661 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.7421, allocations: 31.8 kB / 0.9661 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.7422, allocations: 26.53 kB / 0.9662 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7423, allocations: 333.5 kB / 0.9665 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.7424, allocations: 31.53 kB / 0.9665 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.7426, allocations: 65.81 kB / 0.9666 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.7428, allocations: 101.3 kB / 0.9667 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7428, allocations: 0 / 0.9667 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003203/0.7432, allocations: 128.1 kB / 0.9668 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7432, allocations: 6.031 kB / 0.9668 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7432, allocations: 0 / 0.9668 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7432, allocations: 2.281 kB / 0.9668 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.7435, allocations: 39.7 kB / 0.9668 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7435, allocations: 3.938 kB / 0.9668 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.7436, allocations: 16.55 kB / 0.9668 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.7437, allocations: 7.641 kB / 0.9669 GB, free: 10.92 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.0001049/0.7438, allocations: 123 kB / 0.967 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.7438, allocations: 22.38 kB / 0.967 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.7441, allocations: 139.1 kB / 0.9671 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.7441, allocations: 1.531 kB / 0.9671 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.7441, allocations: 9.016 kB / 0.9671 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.7441, allocations: 4.078 kB / 0.9671 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.7447, allocations: 478.5 kB / 0.9676 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7448, allocations: 5.531 kB / 0.9676 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.745, allocations: 34.8 kB / 0.9676 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.745, allocations: 1.406 kB / 0.9676 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.745, allocations: 2.438 kB / 0.9676 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.745, allocations: 5.719 kB / 0.9676 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.745, allocations: 1.469 kB / 0.9676 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.7455, allocations: 345.2 kB / 0.968 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.7456, allocations: 109 kB / 0.9681 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.7456, allocations: 2.719 kB / 0.9681 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.7458, allocations: 16.52 kB / 0.9681 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.7458, allocations: 8.844 kB / 0.9681 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7458, allocations: 4.031 kB / 0.9681 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001151/0.746, allocations: 137.3 kB / 0.9682 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.746, allocations: 0 / 0.9682 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004172/0.7464, allocations: 51.39 kB / 0.9683 GB, free: 9.664 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.0004482/0.7468, allocations: 183.9 kB / 0.9685 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.7472, allocations: 102.4 kB / 0.9686 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7472, allocations: 0 / 0.9686 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.7474, allocations: 59.34 kB / 0.9686 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.7481, allocations: 74.36 kB / 0.9687 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.7488, allocations: 412.6 kB / 0.9691 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.7491, allocations: 0.7297 MB / 0.9698 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.7492, allocations: 15.88 kB / 0.9698 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.7492, allocations: 0 / 0.9698 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of Templates: time 0.006604/0.7558, allocations: 2.848 MB / 0.9726 GB, free: 6.883 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches