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.001329/0.001329, allocations: 119 kB / 17.17 MB, free: 5.906 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.001461/0.001461, allocations: 211 kB / 20.13 MB, free: 2.965 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.828/2.828, allocations: 0.49 GB / 0.7923 GB, free: 1.414 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.0021/0.0021, allocations: 59.91 kB / 1.149 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8958/0.8979, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01368/0.9116, allocations: 15.03 MB / 1.336 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00424/0.9158, allocations: 3.757 MB / 1.34 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.9164, allocations: 24.88 kB / 1.34 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.9169, allocations: 167.4 kB / 1.34 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.918, allocations: 414 kB / 1.34 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.919, allocations: 335.9 kB / 1.341 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.9202, allocations: 0.7672 MB / 1.341 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.9206, allocations: 234.3 kB / 1.342 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008837/0.9215, allocations: 486.6 kB / 1.342 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.9217, allocations: 217.5 kB / 1.342 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.9218, allocations: 20.62 kB / 1.342 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.9223, allocations: 239.9 kB / 1.343 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.9224, allocations: 72.44 kB / 1.343 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.9225, allocations: 145.5 kB / 1.343 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.9231, allocations: 435.2 kB / 1.343 GB, free: 9.637 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9231, allocations: 0.5625 kB / 1.343 GB, free: 9.637 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9231, allocations: 0 / 1.343 GB, free: 9.637 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.9231, allocations: 4 kB / 1.343 GB, free: 9.633 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.0008568/0.924, allocations: 0.6117 MB / 1.344 GB, free: 9.113 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.9241, allocations: 19.39 kB / 1.344 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.947e-05/0.9241, allocations: 5.688 kB / 1.344 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.9241, allocations: 54.73 kB / 1.344 GB, free: 9.055 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.9242, allocations: 38.06 kB / 1.344 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.9247, allocations: 333.2 kB / 1.344 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.9247, allocations: 18.66 kB / 1.344 GB, free: 8.762 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.9248, allocations: 27.75 kB / 1.344 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.9253, allocations: 253.1 kB / 1.345 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9253, allocations: 0.7969 kB / 1.345 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.9253, allocations: 10.56 kB / 1.345 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.9253, allocations: 4.688 kB / 1.345 GB, free: 8.629 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.9258, allocations: 187.1 kB / 1.345 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.9268, allocations: 0.8328 MB / 1.346 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.9271, allocations: 142 kB / 1.346 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.9273, allocations: 90 kB / 1.346 GB, free: 7.855 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.9276, allocations: 499.9 kB / 1.346 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.9276, allocations: 38 kB / 1.346 GB, free: 7.242 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.9276, allocations: 0 / 1.346 GB, free: 7.242 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0008046/0.9284, allocations: 253.8 kB / 1.347 GB, free: 7.156 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.9284, allocations: 90.42 kB / 1.347 GB, free: 7.051 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.9287, allocations: 268.9 kB / 1.347 GB, free: 6.902 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.9287, allocations: 27.17 kB / 1.347 GB, free: 6.871 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.9288, allocations: 174.6 kB / 1.347 GB, free: 6.723 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.9288, allocations: 44.14 kB / 1.347 GB, free: 6.688 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.9289, allocations: 36.39 kB / 1.347 GB, free: 6.664 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.9289, allocations: 335.3 kB / 1.347 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.9291, allocations: 65.66 kB / 1.348 GB, free: 6.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.9294, allocations: 117 kB / 1.348 GB, free: 6.254 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.9298, allocations: 170.7 kB / 1.348 GB, free: 6.176 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9298, allocations: 3.938 kB / 1.348 GB, free: 6.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005059/0.9303, allocations: 211.8 kB / 1.348 GB, free: 6.086 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.9303, allocations: 8.938 kB / 1.348 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9303, allocations: 1.125 kB / 1.348 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.9304, allocations: 5.344 kB / 1.348 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.9307, allocations: 55.5 kB / 1.348 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.9307, allocations: 2.047 kB / 1.348 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.9309, allocations: 35.64 kB / 1.348 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.9309, allocations: 9.438 kB / 1.348 GB, free: 6.059 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.000112/0.931, allocations: 143.3 kB / 1.348 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.9311, allocations: 28.34 kB / 1.348 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.9314, allocations: 182.3 kB / 1.348 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.9314, allocations: 3.266 kB / 1.348 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9314, allocations: 5.156 kB / 1.348 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9314, allocations: 4.797 kB / 1.348 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/0.9322, allocations: 0.6008 MB / 1.349 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9322, allocations: 1.031 kB / 1.349 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.9324, allocations: 55.77 kB / 1.349 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.9324, allocations: 3.047 kB / 1.349 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.9324, allocations: 7.516 kB / 1.349 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9324, allocations: 2.875 kB / 1.349 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9324, allocations: 5.922 kB / 1.349 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.933, allocations: 430 kB / 1.35 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.9331, allocations: 126.4 kB / 1.35 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.9331, allocations: 6.984 kB / 1.35 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.9333, allocations: 23.2 kB / 1.35 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.9334, allocations: 19.09 kB / 1.35 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.9334, allocations: 11.58 kB / 1.35 GB, free: 4.906 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001613/0.9336, allocations: 190.2 kB / 1.35 GB, free: 4.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9336, allocations: 0 / 1.35 GB, free: 4.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004747/0.934, allocations: 91.3 kB / 1.35 GB, free: 4.773 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.0009314/0.935, allocations: 1.067 MB / 1.351 GB, free: 3.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.9355, allocations: 175.1 kB / 1.351 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.9355, allocations: 0 / 1.351 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.9358, allocations: 99.56 kB / 1.351 GB, free: 3.824 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.9366, allocations: 121.8 kB / 1.351 GB, free: 3.781 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.9398, allocations: 2.643 MB / 1.354 GB, free: 1.945 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.94, allocations: 0.774 MB / 1.355 GB, free: 1.242 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.9402, allocations: 58.72 kB / 1.355 GB, free: 1.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.9403, allocations: 86.08 kB / 1.355 GB, free: 1.168 MB / 1.061 GB Notification: Performance of SimCode: time 8.62e-07/0.9403, allocations: 0 / 1.355 GB, free: 1.168 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.9687, allocations: 8.159 MB / 1.363 GB, free: 196 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/9.42, allocations: 8.859 kB / 1.363 GB, free: 192 kB / 1.061 GB " [Timeout remaining time 290] (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: 15.57341653603362]