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.0009938/0.0009939, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001218/0.001218, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.41 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.506/2.506, allocations: 390.9 MB / 0.666 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003745, allocations: 19.98 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8038, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01085/0.8147, allocations: 9.227 MB / 0.9634 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.8178, allocations: 2.073 MB / 0.9655 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.8181, allocations: 6.656 kB / 0.9655 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.8185, allocations: 70.27 kB / 0.9655 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000628/0.8191, allocations: 208 kB / 0.9657 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.8198, allocations: 191.5 kB / 0.9659 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.8205, allocations: 0.5038 MB / 0.9664 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.8207, allocations: 107.3 kB / 0.9665 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.8211, allocations: 183.4 kB / 0.9667 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.8213, allocations: 105.6 kB / 0.9668 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.8213, allocations: 4.969 kB / 0.9668 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.8217, allocations: 111.6 kB / 0.9669 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.8217, allocations: 32.3 kB / 0.9669 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.8218, allocations: 51.08 kB / 0.967 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.8221, allocations: 153.4 kB / 0.9671 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8221, allocations: 0.7812 kB / 0.9671 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8221, allocations: 0 / 0.9671 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8221, allocations: 0 / 0.9671 GB, free: 13.58 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.0006102/0.8227, allocations: 454.9 kB / 0.9676 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.8228, allocations: 12.88 kB / 0.9676 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.8228, allocations: 18.38 kB / 0.9676 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.8231, allocations: 234.8 kB / 0.9678 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8231, allocations: 11.09 kB / 0.9678 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.8231, allocations: 7.094 kB / 0.9678 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.8235, allocations: 156.2 kB / 0.968 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.8235, allocations: 0 / 0.968 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.8235, allocations: 0 / 0.968 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8235, allocations: 3.344 kB / 0.968 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.8238, allocations: 108.9 kB / 0.9681 GB, free: 12.71 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.0008455/0.8247, allocations: 0.5421 MB / 0.9686 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.8249, allocations: 95.33 kB / 0.9687 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.825, allocations: 60.62 kB / 0.9688 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.8253, allocations: 342.8 kB / 0.9691 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.8254, allocations: 35.78 kB / 0.9691 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8254, allocations: 0 / 0.9691 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005033/0.8259, allocations: 184 kB / 0.9693 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.826, allocations: 78.48 kB / 0.9694 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.8261, allocations: 187.2 kB / 0.9696 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.8262, allocations: 30.7 kB / 0.9696 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.8263, allocations: 119.3 kB / 0.9697 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.8263, allocations: 22.95 kB / 0.9697 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.8263, allocations: 4 kB / 0.9697 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8265, allocations: 322.6 kB / 0.97 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.8266, allocations: 39.38 kB / 0.9701 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.8267, allocations: 78.88 kB / 0.9702 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.8269, allocations: 41.88 kB / 0.9702 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8269, allocations: 5.156 kB / 0.9702 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000302/0.8272, allocations: 141.1 kB / 0.9703 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8272, allocations: 4.844 kB / 0.9703 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8272, allocations: 0.9688 kB / 0.9703 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.8273, allocations: 6.156 kB / 0.9703 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8275, allocations: 52.12 kB / 0.9704 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.8275, allocations: 2.219 kB / 0.9704 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.8276, allocations: 21.23 kB / 0.9704 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.8277, allocations: 4.375 kB / 0.9704 GB, free: 10.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.8278, allocations: 131 kB / 0.9705 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.8279, allocations: 15.03 kB / 0.9706 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.8281, allocations: 133.5 kB / 0.9707 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.8282, allocations: 2.062 kB / 0.9707 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8282, allocations: 4.922 kB / 0.9707 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8282, allocations: 256 / 0.9707 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.8288, allocations: 477 kB / 0.9711 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8288, allocations: 1.188 kB / 0.9711 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.829, allocations: 49.36 kB / 0.9712 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.829, allocations: 5.984 kB / 0.9712 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.829, allocations: 3 kB / 0.9712 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.829, allocations: 1.25 kB / 0.9712 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8291, allocations: 5.719 kB / 0.9712 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.8295, allocations: 354 kB / 0.9715 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.8295, allocations: 100.2 kB / 0.9716 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.8296, allocations: 6.203 kB / 0.9716 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8297, allocations: 24.05 kB / 0.9717 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.8298, allocations: 12.92 kB / 0.9717 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.8298, allocations: 3.094 kB / 0.9717 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000124/0.8299, allocations: 134.2 kB / 0.9718 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.543e-06/0.8299, allocations: 0 / 0.9718 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004055/0.8303, allocations: 54.94 kB / 0.9719 GB, free: 9.367 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004721/0.8308, allocations: 184.1 kB / 0.972 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.8312, allocations: 107.5 kB / 0.9721 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8312, allocations: 128 / 0.9721 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.8314, allocations: 71.33 kB / 0.9722 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.832, allocations: 65.72 kB / 0.9723 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/0.8327, allocations: 385.4 kB / 0.9726 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.8331, allocations: 0.7307 MB / 0.9734 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.8332, allocations: 26.25 kB / 0.9734 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.8333, allocations: 15.59 kB / 0.9734 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8333, allocations: 0 / 0.9734 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of Templates: time 0.007342/0.8406, allocations: 3.018 MB / 0.9763 GB, free: 6.547 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