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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 214.7 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.233/3.233, allocations: 0.5003 GB / 0.8062 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 68.81 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4147, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02065/0.4353, allocations: 15.16 MB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006254/0.4416, allocations: 3.788 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000598/0.4422, allocations: 19.81 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.4428, allocations: 170.7 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.444, allocations: 430 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.445, allocations: 363.3 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.446, allocations: 0.7918 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.4464, allocations: 220.6 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.4476, allocations: 486 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.448, allocations: 223 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.4481, allocations: 20 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005931/0.4487, allocations: 255.5 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4488, allocations: 71.69 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.449, allocations: 143.3 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.4498, allocations: 430.4 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4498, allocations: 0 / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4498, allocations: 0 / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.4498, allocations: 0 / 1.367 GB, free: 9.863 MB / 1.061 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.001027/0.4508, allocations: 0.5477 MB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4509, allocations: 12.03 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.01e-05/0.4509, allocations: 4.625 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/0.4509, allocations: 54.73 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.451, allocations: 32.75 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.4516, allocations: 265.4 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4516, allocations: 20.81 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.4517, allocations: 24.12 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.4522, allocations: 257.3 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4522, allocations: 0 / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.4522, allocations: 15.98 kB / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.4523, allocations: 4 kB / 1.368 GB, free: 8.562 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.4528, allocations: 180.6 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.4541, allocations: 0.7928 MB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.4544, allocations: 141.1 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.4546, allocations: 89.59 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.4548, allocations: 39.97 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4548, allocations: 38.55 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.4548, allocations: 0 / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0008139/0.4556, allocations: 261.3 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.4557, allocations: 85.27 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.456, allocations: 264.2 kB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.4561, allocations: 33.7 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.4562, allocations: 168.3 kB / 1.37 GB, free: 6.359 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.4563, allocations: 47.59 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.4563, allocations: 33.7 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4565, allocations: 334.8 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.4567, allocations: 63.94 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.457, allocations: 116.4 kB / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.4574, allocations: 188.3 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4574, allocations: 3.938 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005482/0.458, allocations: 209.4 kB / 1.371 GB, free: 5.328 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.458, allocations: 8 kB / 1.371 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.458, allocations: 0 / 1.371 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.458, allocations: 0 / 1.371 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.4583, allocations: 55.88 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.4583, allocations: 4.312 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4586, allocations: 35.92 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.4586, allocations: 11.92 kB / 1.372 GB, free: 5.215 MB / 1.061 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.0001768/0.4588, allocations: 145.8 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.4588, allocations: 27.84 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.4592, allocations: 187.2 kB / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.4592, allocations: 4 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4592, allocations: 0 / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.4592, allocations: 4 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.4601, allocations: 0.5825 MB / 1.372 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.4601, allocations: 0 / 1.372 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.4603, allocations: 51.94 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4603, allocations: 4.125 kB / 1.373 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4603, allocations: 4 kB / 1.373 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4604, allocations: 4 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4604, allocations: 3.938 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.461, allocations: 445.9 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.4611, allocations: 43.78 kB / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.4612, allocations: 7.984 kB / 1.373 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.4614, allocations: 15.98 kB / 1.373 GB, free: 3.598 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.4614, allocations: 27.91 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4614, allocations: 7.938 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001889/0.4616, allocations: 195.1 kB / 1.373 GB, free: 3.371 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4616, allocations: 0 / 1.373 GB, free: 3.371 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004695/0.4621, allocations: 95.75 kB / 1.373 GB, free: 3.277 MB / 1.061 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.001227/0.4633, allocations: 1.064 MB / 1.374 GB, free: 2.172 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005499/0.4639, allocations: 172 kB / 1.375 GB, free: 2.004 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4639, allocations: 8 kB / 1.375 GB, free: 1.996 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.4642, allocations: 103.8 kB / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.465, allocations: 115.9 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.4688, allocations: 2.647 MB / 1.377 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.4692, allocations: 0.7753 MB / 1.378 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.4694, allocations: 50.34 kB / 1.378 GB, free: 14.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.4695, allocations: 87.41 kB / 1.378 GB, free: 14.08 MB / 1.076 GB Notification: Performance of SimCode: time 1.472e-06/0.4695, allocations: 0 / 1.378 GB, free: 14.08 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.5033, allocations: 8.345 MB / 1.386 GB, free: 5.941 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.74, allocations: 4.062 kB / 1.386 GB, free: 5.938 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.653165336989332]