Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_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.001597/0.001598, allocations: 108.6 kB / 15.73 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 200.1 kB / 16.66 MB, free: 6.57 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.553/1.553, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.81 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3148, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01412/0.329, allocations: 10.13 MB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.3323, allocations: 2.226 MB / 1.1 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.3327, allocations: 11.94 kB / 1.1 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.3333, allocations: 99.17 kB / 1.1 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008626/0.3341, allocations: 246.8 kB / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.335, allocations: 231.4 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000666/0.3356, allocations: 431.5 kB / 1.1 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.336, allocations: 154.8 kB / 1.101 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.3366, allocations: 215.1 kB / 1.101 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.3368, allocations: 111.5 kB / 1.101 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.3369, allocations: 8 kB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.3373, allocations: 163.7 kB / 1.101 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.6e-05/0.3374, allocations: 35.84 kB / 1.101 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3375, allocations: 75.61 kB / 1.101 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.3381, allocations: 248.1 kB / 1.101 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3381, allocations: 0 / 1.101 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3381, allocations: 0 / 1.101 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.3381, allocations: 0 / 1.101 GB, free: 3.609 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007914/0.3389, allocations: 482.7 kB / 1.102 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.339, allocations: 8.031 kB / 1.102 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.339, allocations: 38.75 kB / 1.102 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.3391, allocations: 20.75 kB / 1.102 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.3395, allocations: 256.9 kB / 1.102 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3396, allocations: 8.375 kB / 1.102 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3396, allocations: 12.38 kB / 1.102 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.34, allocations: 144.5 kB / 1.102 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.34, allocations: 0 / 1.102 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.34, allocations: 8 kB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.34, allocations: 3.938 kB / 1.102 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.3403, allocations: 95.86 kB / 1.102 GB, free: 2.449 MB / 0.8575 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.0008181/0.3411, allocations: 0.5354 MB / 1.103 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3413, allocations: 89.17 kB / 1.103 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.3415, allocations: 57.81 kB / 1.103 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/0.3418, allocations: 340.4 kB / 1.103 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3418, allocations: 38.5 kB / 1.104 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.3418, allocations: 4 kB / 1.104 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005431/0.3424, allocations: 165.3 kB / 1.104 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3424, allocations: 77.11 kB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3426, allocations: 186.3 kB / 1.104 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3427, allocations: 29.7 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.3427, allocations: 116.1 kB / 1.104 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3428, allocations: 27.83 kB / 1.104 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.3428, allocations: 21.72 kB / 1.104 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.343, allocations: 330.8 kB / 1.104 GB, free: 248 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3431, allocations: 31.97 kB / 1.104 GB, free: 216 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3432, allocations: 71.34 kB / 1.105 GB, free: 132 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.3435, allocations: 94.45 kB / 1.105 GB, free: 28 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3435, allocations: 7.984 kB / 1.105 GB, free: 20 kB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003242/0.3438, allocations: 133.4 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3439, allocations: 8 kB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3439, allocations: 4.062 kB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3439, allocations: 0 / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.3441, allocations: 35.95 kB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3441, allocations: 0 / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3443, allocations: 15.92 kB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3443, allocations: 7.984 kB / 1.105 GB, free: 15.81 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0001374/0.3444, allocations: 130.3 kB / 1.105 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.3445, allocations: 19.75 kB / 1.105 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.3448, allocations: 130.6 kB / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3448, allocations: 4 kB / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3448, allocations: 0 / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3448, allocations: 3.984 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.3454, allocations: 480.9 kB / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3455, allocations: 0 / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.3456, allocations: 43.84 kB / 1.106 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3457, allocations: 7.984 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3457, allocations: 0 / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3457, allocations: 4 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3457, allocations: 0 / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.3461, allocations: 345.1 kB / 1.106 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.3462, allocations: 104.9 kB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3463, allocations: 4 kB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3464, allocations: 8 kB / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.3465, allocations: 15.92 kB / 1.106 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3465, allocations: 4 kB / 1.106 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001212/0.3466, allocations: 136.5 kB / 1.106 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.3466, allocations: 0 / 1.106 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003902/0.347, allocations: 55.92 kB / 1.106 GB, free: 14.22 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001044/0.3481, allocations: 0.9447 MB / 1.107 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.3484, allocations: 107.9 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3484, allocations: 0 / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3486, allocations: 63.89 kB / 1.107 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.3493, allocations: 83.19 kB / 1.107 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3518, allocations: 1.979 MB / 1.109 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3522, allocations: 0.7241 MB / 1.11 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.3523, allocations: 33.39 kB / 1.11 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.3524, allocations: 47.42 kB / 1.11 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.3524, allocations: 0 / 1.11 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.38, allocations: 5.313 MB / 1.115 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.486, allocations: 4.938 kB / 1.115 GB, free: 4.914 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches