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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.575/2.575, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 65.52 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2408, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01469/0.2555, allocations: 14.75 MB / 1.067 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.2598, allocations: 3.704 MB / 1.07 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.2601, allocations: 15.88 kB / 1.07 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.2606, allocations: 135.1 kB / 1.07 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007363/0.2613, allocations: 370.3 kB / 1.071 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.2621, allocations: 299.7 kB / 1.071 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009376/0.263, allocations: 1.096 MB / 1.072 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.2634, allocations: 252 kB / 1.072 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005736/0.264, allocations: 346.5 kB / 1.073 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.2643, allocations: 234.8 kB / 1.073 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.2643, allocations: 12 kB / 1.073 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.2647, allocations: 211.5 kB / 1.073 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.2648, allocations: 63.75 kB / 1.073 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.265, allocations: 131.3 kB / 1.073 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.2655, allocations: 422.7 kB / 1.074 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2655, allocations: 0 / 1.074 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2655, allocations: 0 / 1.074 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2655, allocations: 0 / 1.074 GB, free: 2.18 MB / 0.8262 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.0008832/0.2664, allocations: 0.6001 MB / 1.074 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2664, allocations: 11.97 kB / 1.074 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.2665, allocations: 54.73 kB / 1.074 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.2666, allocations: 36.56 kB / 1.074 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.267, allocations: 311 kB / 1.075 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.267, allocations: 24.8 kB / 1.075 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.267, allocations: 20.38 kB / 1.075 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.2675, allocations: 253.3 kB / 1.075 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2676, allocations: 0 / 1.075 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.2676, allocations: 12 kB / 1.075 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2676, allocations: 8 kB / 1.075 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.2681, allocations: 184.5 kB / 1.075 GB, free: 0.5781 MB / 0.8262 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.001151/0.2692, allocations: 0.8315 MB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.2696, allocations: 149.1 kB / 1.076 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.2698, allocations: 85.66 kB / 1.076 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/0.2702, allocations: 498.6 kB / 1.077 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2702, allocations: 38.5 kB / 1.077 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.2703, allocations: 4 kB / 1.077 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007542/0.271, allocations: 257.1 kB / 1.077 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.2711, allocations: 89.05 kB / 1.077 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.2713, allocations: 263 kB / 1.077 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2714, allocations: 33.7 kB / 1.077 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2715, allocations: 160.3 kB / 1.077 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.2715, allocations: 47.59 kB / 1.077 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.2716, allocations: 37.64 kB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2717, allocations: 334.8 kB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2719, allocations: 63.94 kB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2722, allocations: 121.9 kB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.2726, allocations: 172.1 kB / 1.078 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2726, allocations: 320 / 1.078 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004961/0.2731, allocations: 217.1 kB / 1.078 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2731, allocations: 11.98 kB / 1.078 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2731, allocations: 48 / 1.078 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2731, allocations: 7.922 kB / 1.078 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2734, allocations: 47.95 kB / 1.078 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2734, allocations: 7.938 kB / 1.078 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2736, allocations: 35.91 kB / 1.079 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2737, allocations: 8 kB / 1.079 GB, free: 12.8 MB / 0.8419 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.0001391/0.2738, allocations: 149.7 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.2739, allocations: 31.61 kB / 1.079 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.2742, allocations: 181.2 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2742, allocations: 4 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2742, allocations: 4 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2742, allocations: 0 / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.275, allocations: 0.5952 MB / 1.079 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.275, allocations: 0 / 1.079 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.2753, allocations: 60 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2753, allocations: 0 / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2753, allocations: 4 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2753, allocations: 0 / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2753, allocations: 4 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.2759, allocations: 447.3 kB / 1.08 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.276, allocations: 120.7 kB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.2761, allocations: 0 / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.2763, allocations: 31.91 kB / 1.08 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.2764, allocations: 19.92 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.2764, allocations: 8 kB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001695/0.2766, allocations: 193.9 kB / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2766, allocations: 0 / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004208/0.277, allocations: 91.83 kB / 1.08 GB, free: 10.76 MB / 0.8419 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.001161/0.2782, allocations: 1.081 MB / 1.081 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.2787, allocations: 171.7 kB / 1.082 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2787, allocations: 0 / 1.082 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.279, allocations: 108.3 kB / 1.082 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008386/0.2798, allocations: 114.5 kB / 1.082 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.2832, allocations: 2.712 MB / 1.084 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2835, allocations: 0.7794 MB / 1.085 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.2837, allocations: 58.27 kB / 1.085 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2838, allocations: 87.41 kB / 1.085 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.2838, allocations: 0 / 1.085 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.3014, allocations: 7.649 MB / 1.093 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.3016, allocations: 261.2 kB / 1.093 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.164, allocations: 0 / 1.093 GB, free: 13.68 MB / 0.8575 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) 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) Reference file matches