Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001612/0.001612, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001716/0.001716, allocations: 218.5 kB / 23.04 MB, free: 5.074 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_12_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.002119/0.002119, allocations: 61.91 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01957/0.3788, allocations: 15.16 MB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.385, allocations: 3.792 MB / 1.345 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.3857, allocations: 19.81 kB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.3863, allocations: 174.7 kB / 1.345 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.3875, allocations: 426 kB / 1.346 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3886, allocations: 366.5 kB / 1.346 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.3898, allocations: 0.7686 MB / 1.347 GB, free: 13.19 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.3903, allocations: 236.6 kB / 1.347 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.3918, allocations: 478 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.3923, allocations: 231 kB / 1.348 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.3923, allocations: 20 kB / 1.348 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.3931, allocations: 243.5 kB / 1.348 GB, free: 12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3932, allocations: 75.69 kB / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.3935, allocations: 147.3 kB / 1.348 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3945, allocations: 434.3 kB / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3945, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3945, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.3945, allocations: 3.938 kB / 1.349 GB, free: 11.36 MB / 1.045 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.001042/0.3955, allocations: 0.5361 MB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3956, allocations: 12.03 kB / 1.349 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.471e-05/0.3956, allocations: 8.562 kB / 1.349 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.509e-05/0.3957, allocations: 54.73 kB / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.3958, allocations: 40.64 kB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.3964, allocations: 261.5 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3964, allocations: 20.81 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3964, allocations: 20.12 kB / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.397, allocations: 265.3 kB / 1.35 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3971, allocations: 0 / 1.35 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.3971, allocations: 12 kB / 1.35 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3971, allocations: 4 kB / 1.35 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.3976, allocations: 172.6 kB / 1.35 GB, free: 9.891 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.399, allocations: 0.8045 MB / 1.351 GB, free: 9.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.3994, allocations: 137.1 kB / 1.351 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3996, allocations: 93.64 kB / 1.351 GB, free: 8.777 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.3998, allocations: 44.12 kB / 1.351 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3998, allocations: 42.48 kB / 1.351 GB, free: 8.684 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.3998, allocations: 0 / 1.351 GB, free: 8.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0008908/0.4007, allocations: 257.3 kB / 1.351 GB, free: 8.426 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.4008, allocations: 85.11 kB / 1.351 GB, free: 8.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.4011, allocations: 264.2 kB / 1.352 GB, free: 8.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.4012, allocations: 29.7 kB / 1.352 GB, free: 8.016 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.4013, allocations: 172.3 kB / 1.352 GB, free: 7.844 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.4014, allocations: 47.58 kB / 1.352 GB, free: 7.797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.4014, allocations: 37.7 kB / 1.352 GB, free: 7.754 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4016, allocations: 334.8 kB / 1.352 GB, free: 7.418 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.4018, allocations: 59.94 kB / 1.352 GB, free: 7.359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4021, allocations: 114 kB / 1.352 GB, free: 7.227 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.4025, allocations: 180.1 kB / 1.353 GB, free: 7.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4025, allocations: 3.938 kB / 1.353 GB, free: 7.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005693/0.4031, allocations: 205.3 kB / 1.353 GB, free: 6.824 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4031, allocations: 9.875 kB / 1.353 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4031, allocations: 0 / 1.353 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4031, allocations: 0 / 1.353 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.4034, allocations: 59.88 kB / 1.353 GB, free: 6.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4034, allocations: 4 kB / 1.353 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.4037, allocations: 35.89 kB / 1.353 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.4037, allocations: 8 kB / 1.353 GB, free: 6.711 MB / 1.045 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.0001757/0.4039, allocations: 145.8 kB / 1.353 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.404, allocations: 27.81 kB / 1.353 GB, free: 6.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.4043, allocations: 188.6 kB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4044, allocations: 4 kB / 1.353 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4044, allocations: 384 / 1.353 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4044, allocations: 0 / 1.353 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.4053, allocations: 0.5825 MB / 1.354 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4053, allocations: 0 / 1.354 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.4056, allocations: 59.88 kB / 1.354 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4056, allocations: 0 / 1.354 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4056, allocations: 8.125 kB / 1.354 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4056, allocations: 4 kB / 1.354 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4056, allocations: 3.938 kB / 1.354 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.4063, allocations: 441.9 kB / 1.354 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.4064, allocations: 47.72 kB / 1.354 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.4064, allocations: 4 kB / 1.354 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.4067, allocations: 15.98 kB / 1.354 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.4067, allocations: 23.91 kB / 1.354 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4068, allocations: 8 kB / 1.354 GB, free: 5.062 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002086/0.407, allocations: 199.1 kB / 1.355 GB, free: 4.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.81e-07/0.407, allocations: 0 / 1.355 GB, free: 4.871 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005259/0.4075, allocations: 87.77 kB / 1.355 GB, free: 4.785 MB / 1.045 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.001438/0.4089, allocations: 1.074 MB / 1.356 GB, free: 3.668 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006304/0.4096, allocations: 173.4 kB / 1.356 GB, free: 3.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4096, allocations: 0 / 1.356 GB, free: 3.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.4099, allocations: 108 kB / 1.356 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.4108, allocations: 127.9 kB / 1.356 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.415, allocations: 2.635 MB / 1.359 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.4155, allocations: 0.7714 MB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002505/0.4157, allocations: 54.27 kB / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.4159, allocations: 95.34 kB / 1.36 GB, free: 15.56 MB / 1.061 GB Notification: Performance of SimCode: time 1.373e-06/0.4159, allocations: 0 / 1.36 GB, free: 15.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.4528, allocations: 8.339 MB / 1.368 GB, free: 7.453 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.49, allocations: 8.656 kB / 1.368 GB, free: 7.445 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.512651014025323]