Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_latest_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.001408/0.001414, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.001542/0.001542, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 64.41 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3905, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02281/0.4134, allocations: 14.8 MB / 1.041 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00702/0.4205, allocations: 3.716 MB / 1.045 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006505/0.4212, allocations: 19.81 kB / 1.045 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.422, allocations: 170.7 kB / 1.045 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.4234, allocations: 394 kB / 1.045 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4247, allocations: 334.3 kB / 1.046 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.426, allocations: 0.7726 MB / 1.046 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006047/0.4266, allocations: 292 kB / 1.047 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000979/0.4276, allocations: 386.4 kB / 1.047 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.428, allocations: 219 kB / 1.047 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.4281, allocations: 24 kB / 1.047 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006854/0.4288, allocations: 231.5 kB / 1.048 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4289, allocations: 79.67 kB / 1.048 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.4291, allocations: 135.3 kB / 1.048 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007963/0.4299, allocations: 434.7 kB / 1.048 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4299, allocations: 0 / 1.048 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4299, allocations: 0 / 1.048 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.43, allocations: 0 / 1.048 GB, free: 12.01 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00116/0.4311, allocations: 0.6052 MB / 1.049 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4312, allocations: 8.031 kB / 1.049 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.4313, allocations: 32.56 kB / 1.049 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.432, allocations: 334.9 kB / 1.049 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.4321, allocations: 16.81 kB / 1.049 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.4321, allocations: 24.38 kB / 1.049 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.4328, allocations: 261.5 kB / 1.049 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4329, allocations: 4 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4329, allocations: 4 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.4329, allocations: 4 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.4336, allocations: 188.5 kB / 1.05 GB, free: 10.45 MB / 0.8262 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.001668/0.4353, allocations: 0.8277 MB / 1.05 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.4357, allocations: 133.1 kB / 1.051 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.436, allocations: 97.58 kB / 1.051 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005143/0.4365, allocations: 0.4948 MB / 1.051 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4366, allocations: 30.56 kB / 1.051 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/0.4366, allocations: 0 / 1.051 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.00103/0.4376, allocations: 265.1 kB / 1.051 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.4377, allocations: 81.11 kB / 1.051 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.4381, allocations: 267 kB / 1.052 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4381, allocations: 29.7 kB / 1.052 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4383, allocations: 168.2 kB / 1.052 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.4383, allocations: 43.61 kB / 1.052 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.4385, allocations: 33.7 kB / 1.052 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.4386, allocations: 334.8 kB / 1.052 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.4389, allocations: 64.19 kB / 1.052 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.4392, allocations: 117.9 kB / 1.052 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.4398, allocations: 180.2 kB / 1.053 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4398, allocations: 4 kB / 1.053 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006713/0.4405, allocations: 213.1 kB / 1.053 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4405, allocations: 4 kB / 1.053 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4405, allocations: 4 kB / 1.053 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.4405, allocations: 0 / 1.053 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.4409, allocations: 51.94 kB / 1.053 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.441, allocations: 4.094 kB / 1.053 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.4412, allocations: 35.81 kB / 1.053 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.4413, allocations: 4 kB / 1.053 GB, free: 6.707 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0002003/0.4415, allocations: 146.6 kB / 1.053 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4416, allocations: 39.53 kB / 1.053 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.4421, allocations: 183.2 kB / 1.053 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.4421, allocations: 4 kB / 1.053 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4421, allocations: 4 kB / 1.053 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4421, allocations: 3.984 kB / 1.053 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.4432, allocations: 0.5874 MB / 1.054 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4432, allocations: 4 kB / 1.054 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.4436, allocations: 56.02 kB / 1.054 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4436, allocations: 0 / 1.054 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4436, allocations: 7.984 kB / 1.054 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4436, allocations: 4 kB / 1.054 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4436, allocations: 0 / 1.054 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.4444, allocations: 441.6 kB / 1.054 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.4446, allocations: 120.7 kB / 1.054 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.4447, allocations: 4.125 kB / 1.054 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.445, allocations: 27.97 kB / 1.055 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.4451, allocations: 15.92 kB / 1.055 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.4451, allocations: 8 kB / 1.055 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002555/0.4454, allocations: 197.9 kB / 1.055 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4454, allocations: 0 / 1.055 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006598/0.4461, allocations: 87.78 kB / 1.055 GB, free: 4.656 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0005706/0.4466, allocations: 219.1 kB / 1.055 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006693/0.4473, allocations: 172 kB / 1.055 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4473, allocations: 0 / 1.055 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.4477, allocations: 111.8 kB / 1.055 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.4488, allocations: 121.2 kB / 1.055 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.45, allocations: 0.5012 MB / 1.056 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.4504, allocations: 0.7791 MB / 1.057 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002242/0.4507, allocations: 50.25 kB / 1.057 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.4508, allocations: 23.44 kB / 1.057 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of SimCode: time 9.92e-07/0.4508, allocations: 0 / 1.057 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.01453/0.4653, allocations: 5.214 MB / 1.062 GB, free: 13.48 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches