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.001783/0.001783, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002128/0.002128, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.104/3.104, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.001929/0.001929, allocations: 65.94 kB / 1.17 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3162, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0179/0.3341, allocations: 13.82 MB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005193/0.3393, allocations: 3.504 MB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/0.3398, allocations: 19.81 kB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.3404, allocations: 174.7 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.3415, allocations: 418 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.3424, allocations: 347 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.3434, allocations: 0.7879 MB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.3439, allocations: 220.6 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3449, allocations: 486 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.3453, allocations: 230.9 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.3453, allocations: 24 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.3458, allocations: 191.6 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3459, allocations: 79.62 kB / 1.365 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.3461, allocations: 111.5 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.3467, allocations: 434.4 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3467, allocations: 4 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3467, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3468, allocations: 0 / 1.366 GB, free: 11.05 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.0008864/0.3476, allocations: 0.5361 MB / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3477, allocations: 8.031 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.832e-05/0.3477, allocations: 8.625 kB / 1.366 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.3478, allocations: 58.72 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.3478, allocations: 32.75 kB / 1.366 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.3483, allocations: 265.4 kB / 1.366 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3484, allocations: 16.81 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.3484, allocations: 28.12 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.349, allocations: 308.8 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.349, allocations: 0 / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.349, allocations: 4 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.349, allocations: 8 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.3495, allocations: 188.5 kB / 1.367 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.3507, allocations: 0.6998 MB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.351, allocations: 137 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3512, allocations: 89.64 kB / 1.368 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.3514, allocations: 43.97 kB / 1.368 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3514, allocations: 38.5 kB / 1.368 GB, free: 8.441 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3514, allocations: 0 / 1.368 GB, free: 8.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0007634/0.3522, allocations: 261.5 kB / 1.368 GB, free: 8.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.3522, allocations: 85.03 kB / 1.368 GB, free: 8.078 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.3525, allocations: 268.2 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.3526, allocations: 29.7 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3527, allocations: 168.3 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.3527, allocations: 47.58 kB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.3528, allocations: 33.7 kB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.353, allocations: 338.8 kB / 1.369 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.3531, allocations: 59.95 kB / 1.369 GB, free: 7.117 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.3535, allocations: 273.2 kB / 1.369 GB, free: 6.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.3539, allocations: 172.1 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3539, allocations: 3.938 kB / 1.37 GB, free: 6.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004975/0.3544, allocations: 217.2 kB / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3544, allocations: 4 kB / 1.37 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3544, allocations: 4 kB / 1.37 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3544, allocations: 0 / 1.37 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.3547, allocations: 60.03 kB / 1.37 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3547, allocations: 3.938 kB / 1.37 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3549, allocations: 36.19 kB / 1.37 GB, free: 6.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.355, allocations: 8 kB / 1.37 GB, free: 6.273 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.000146/0.3551, allocations: 145.8 kB / 1.37 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.3552, allocations: 23.86 kB / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.3555, allocations: 190 kB / 1.37 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3555, allocations: 8 kB / 1.37 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3555, allocations: 0 / 1.37 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3555, allocations: 0 / 1.37 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/0.3563, allocations: 0.563 MB / 1.371 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3563, allocations: 4 kB / 1.371 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.3566, allocations: 51.88 kB / 1.371 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.3566, allocations: 4.125 kB / 1.371 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3566, allocations: 8 kB / 1.371 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3566, allocations: 4.094 kB / 1.371 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3566, allocations: 7.875 kB / 1.371 GB, free: 5.199 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.3572, allocations: 437.9 kB / 1.371 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.3573, allocations: 43.77 kB / 1.371 GB, free: 4.699 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.3573, allocations: 8 kB / 1.371 GB, free: 4.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3576, allocations: 19.97 kB / 1.371 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.3576, allocations: 23.91 kB / 1.371 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3576, allocations: 8 kB / 1.371 GB, free: 4.641 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001956/0.3578, allocations: 191.1 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3578, allocations: 0 / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004397/0.3583, allocations: 95.75 kB / 1.372 GB, free: 4.359 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.00119/0.3595, allocations: 1.066 MB / 1.373 GB, free: 3.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.36, allocations: 171.9 kB / 1.373 GB, free: 3.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.36, allocations: 4 kB / 1.373 GB, free: 3.078 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.3602, allocations: 103.8 kB / 1.373 GB, free: 2.977 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.361, allocations: 123.6 kB / 1.373 GB, free: 2.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.365, allocations: 2.647 MB / 1.376 GB, free: 88 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3652, allocations: 166.8 kB / 1.376 GB, free: 15.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.3654, allocations: 46.2 kB / 1.376 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3656, allocations: 87.41 kB / 1.376 GB, free: 15.77 MB / 1.076 GB Notification: Performance of SimCode: time 2.6e-07/0.3656, allocations: 0 / 1.376 GB, free: 15.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.3981, allocations: 8.743 MB / 1.385 GB, free: 7.293 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 10.03 kB / 1.385 GB, free: 7.285 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.2494831510121]