Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008957/0.0008957, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001019/0.001019, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.915/0.915, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.992e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01464/0.01467, allocations: 13.72 MB / 0.9639 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003676/0.01835, allocations: 3.503 MB / 0.9673 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.01876, allocations: 19.81 kB / 0.9673 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.01928, allocations: 178.6 kB / 0.9675 GB, free: 2.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008976/0.02018, allocations: 429.6 kB / 0.9679 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.02092, allocations: 358.5 kB / 0.9682 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.02183, allocations: 0.7838 MB / 0.969 GB, free: 472 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.02219, allocations: 216.7 kB / 0.9692 GB, free: 252 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.02284, allocations: 490.3 kB / 0.9697 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.02305, allocations: 199.4 kB / 0.9699 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.02309, allocations: 24 kB / 0.9699 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.02353, allocations: 199.4 kB / 0.9701 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.02361, allocations: 79.67 kB / 0.9702 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.02369, allocations: 91.77 kB / 0.9702 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.02418, allocations: 438.6 kB / 0.9707 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.02419, allocations: 0 / 0.9707 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.384e-06/0.02419, allocations: 0 / 0.9707 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.0242, allocations: 0 / 0.9707 GB, free: 14.75 MB / 0.9323 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.0006664/0.02486, allocations: 0.5401 MB / 0.9712 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.02491, allocations: 8.031 kB / 0.9712 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.02495, allocations: 54.73 kB / 0.9713 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.02502, allocations: 32.75 kB / 0.9713 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.02543, allocations: 273 kB / 0.9715 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.02545, allocations: 20.88 kB / 0.9716 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.02547, allocations: 16.38 kB / 0.9716 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.02587, allocations: 310.2 kB / 0.9719 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.02588, allocations: 192 / 0.9719 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.0259, allocations: 11.94 kB / 0.9719 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.02591, allocations: 8 kB / 0.9719 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.0262, allocations: 188.5 kB / 0.9721 GB, free: 13.22 MB / 0.9323 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.0008934/0.0271, allocations: 0.6956 MB / 0.9728 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.0273, allocations: 141.1 kB / 0.9729 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.02743, allocations: 89.64 kB / 0.973 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.02757, allocations: 43.84 kB / 0.973 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.0276, allocations: 46.5 kB / 0.9731 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.02761, allocations: 3.938 kB / 0.9731 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0004904/0.0281, allocations: 253.3 kB / 0.9733 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.02814, allocations: 85.05 kB / 0.9734 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.02834, allocations: 272.2 kB / 0.9736 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.02836, allocations: 25.7 kB / 0.9737 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.02846, allocations: 172.3 kB / 0.9738 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.02848, allocations: 39.8 kB / 0.9739 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.02853, allocations: 41.7 kB / 0.9739 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.02863, allocations: 334.8 kB / 0.9742 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.02874, allocations: 63.94 kB / 0.9743 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.02892, allocations: 275.3 kB / 0.9746 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.02916, allocations: 172.4 kB / 0.9747 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.02917, allocations: 0 / 0.9747 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002772/0.02944, allocations: 213.2 kB / 0.9749 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.02946, allocations: 16.03 kB / 0.9749 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.02946, allocations: 3.938 kB / 0.9749 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.02948, allocations: 4 kB / 0.9749 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.02962, allocations: 51.94 kB / 0.975 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.02963, allocations: 11.88 kB / 0.975 GB, free: 10 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.02973, allocations: 23.88 kB / 0.975 GB, free: 9.977 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.02975, allocations: 15.98 kB / 0.975 GB, free: 9.961 MB / 0.9323 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.0001037/0.02985, allocations: 145.8 kB / 0.9752 GB, free: 9.809 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.0299, allocations: 27.8 kB / 0.9752 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.03013, allocations: 191.2 kB / 0.9754 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.03014, allocations: 0 / 0.9754 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.03014, allocations: 4 kB / 0.9754 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.03015, allocations: 0 / 0.9754 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.03068, allocations: 0.5553 MB / 0.9759 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.03069, allocations: 4.031 kB / 0.9759 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.03081, allocations: 60 kB / 0.976 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.03081, allocations: 0 / 0.976 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.03082, allocations: 8 kB / 0.976 GB, free: 8.898 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.03083, allocations: 0 / 0.976 GB, free: 8.898 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.03083, allocations: 7.984 kB / 0.976 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.03118, allocations: 440.5 kB / 0.9764 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.03124, allocations: 47.77 kB / 0.9765 GB, free: 8.387 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.03126, allocations: 4 kB / 0.9765 GB, free: 8.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.03137, allocations: 19.97 kB / 0.9765 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.03142, allocations: 16.05 kB / 0.9765 GB, free: 8.348 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.03143, allocations: 16 kB / 0.9765 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001158/0.03155, allocations: 195.1 kB / 0.9767 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.03155, allocations: 0 / 0.9767 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003996/0.03195, allocations: 87.77 kB / 0.9768 GB, free: 8.059 MB / 0.9323 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.0007248/0.03267, allocations: 1.058 MB / 0.9778 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.03298, allocations: 175.7 kB / 0.978 GB, free: 6.785 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03298, allocations: 0 / 0.978 GB, free: 6.785 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.03312, allocations: 104.3 kB / 0.9781 GB, free: 6.684 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.03362, allocations: 123 kB / 0.9782 GB, free: 6.562 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.036, allocations: 2.638 MB / 0.9808 GB, free: 3.789 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.03612, allocations: 166.8 kB / 0.981 GB, free: 3.605 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.03626, allocations: 58.19 kB / 0.981 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.03636, allocations: 84.47 kB / 0.9811 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/0.03636, allocations: 0 / 0.9811 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.06018, allocations: 9.211 MB / 0.9901 GB, free: 10.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.232, allocations: 6.234 kB / 0.9901 GB, free: 10.52 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.335794050246477]