Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001028, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.007025/0.007025, allocations: 176 kB / 16.27 MB, free: 6.684 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 12.28 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6583, allocations: 153.8 MB / 1.023 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01477/0.6731, allocations: 14.22 MB / 1.037 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.6779, allocations: 3.685 MB / 1.041 GB, free: 14.15 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.6784, allocations: 15.88 kB / 1.041 GB, free: 14.14 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.6788, allocations: 131.1 kB / 1.041 GB, free: 14.01 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.6798, allocations: 370.3 kB / 1.041 GB, free: 13.64 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.6806, allocations: 294.7 kB / 1.041 GB, free: 13.36 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.6816, allocations: 1.092 MB / 1.042 GB, free: 12.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.682, allocations: 245.4 kB / 1.043 GB, free: 12.03 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.6826, allocations: 334.5 kB / 1.043 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.6829, allocations: 215 kB / 1.043 GB, free: 11.49 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.683, allocations: 15.98 kB / 1.043 GB, free: 11.47 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00044/0.6834, allocations: 207.5 kB / 1.043 GB, free: 11.27 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.6835, allocations: 59.75 kB / 1.043 GB, free: 11.21 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.6836, allocations: 156.9 kB / 1.044 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.6841, allocations: 406.7 kB / 1.044 GB, free: 10.65 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6842, allocations: 0 / 1.044 GB, free: 10.65 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6842, allocations: 0 / 1.044 GB, free: 10.65 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6842, allocations: 4 kB / 1.044 GB, free: 10.65 MB / 0.795 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.000798/0.685, allocations: 0.5612 MB / 1.044 GB, free: 10.04 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.685, allocations: 8.031 kB / 1.044 GB, free: 10.03 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.6851, allocations: 40.55 kB / 1.045 GB, free: 9.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.6855, allocations: 303 kB / 1.045 GB, free: 9.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.6855, allocations: 20.75 kB / 1.045 GB, free: 9.637 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.6855, allocations: 24.38 kB / 1.045 GB, free: 9.613 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.6861, allocations: 277.2 kB / 1.045 GB, free: 9.336 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6861, allocations: 0 / 1.045 GB, free: 9.336 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.6861, allocations: 8 kB / 1.045 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.6862, allocations: 8 kB / 1.045 GB, free: 9.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.6867, allocations: 200.6 kB / 1.045 GB, free: 9.125 MB / 0.795 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.001171/0.6878, allocations: 0.8432 MB / 1.046 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.6882, allocations: 157.1 kB / 1.046 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.6884, allocations: 97.66 kB / 1.046 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/0.6888, allocations: 0.4947 MB / 1.047 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.6888, allocations: 38.56 kB / 1.047 GB, free: 7.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.6888, allocations: 0 / 1.047 GB, free: 7.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0007975/0.6896, allocations: 289.2 kB / 1.047 GB, free: 7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6897, allocations: 77.11 kB / 1.047 GB, free: 6.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.6899, allocations: 271 kB / 1.048 GB, free: 6.637 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.69, allocations: 25.7 kB / 1.048 GB, free: 6.605 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6901, allocations: 172.2 kB / 1.048 GB, free: 6.434 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.6901, allocations: 43.53 kB / 1.048 GB, free: 6.391 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.6902, allocations: 17.72 kB / 1.048 GB, free: 6.367 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6903, allocations: 338.8 kB / 1.048 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.6905, allocations: 75.88 kB / 1.048 GB, free: 5.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.6908, allocations: 133.9 kB / 1.048 GB, free: 5.801 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.6912, allocations: 188.1 kB / 1.048 GB, free: 5.602 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6912, allocations: 8 kB / 1.048 GB, free: 5.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005184/0.6918, allocations: 233.1 kB / 1.049 GB, free: 5.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6918, allocations: 5.875 kB / 1.049 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6918, allocations: 4 kB / 1.049 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6918, allocations: 0 / 1.049 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.6921, allocations: 71.97 kB / 1.049 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6921, allocations: 0 / 1.049 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.6923, allocations: 39.81 kB / 1.049 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.6924, allocations: 8 kB / 1.049 GB, free: 5.234 MB / 0.795 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.0001361/0.6925, allocations: 149.8 kB / 1.049 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.6926, allocations: 23.72 kB / 1.049 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.6929, allocations: 187.1 kB / 1.049 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6929, allocations: 4.359 kB / 1.049 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6929, allocations: 4 kB / 1.049 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6929, allocations: 0 / 1.049 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007557/0.6937, allocations: 0.6107 MB / 1.05 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6937, allocations: 0 / 1.05 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.694, allocations: 68.06 kB / 1.05 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.694, allocations: 0 / 1.05 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.694, allocations: 4 kB / 1.05 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.694, allocations: 0 / 1.05 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.694, allocations: 4 kB / 1.05 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.6947, allocations: 473.6 kB / 1.05 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.6948, allocations: 124.7 kB / 1.05 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.6948, allocations: 0 / 1.05 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.6951, allocations: 31.98 kB / 1.05 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.6952, allocations: 19.91 kB / 1.05 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.6952, allocations: 8 kB / 1.05 GB, free: 3.41 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001785/0.6954, allocations: 190 kB / 1.051 GB, free: 3.223 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.373e-06/0.6954, allocations: 3.938 kB / 1.051 GB, free: 3.219 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004286/0.6958, allocations: 91.77 kB / 1.051 GB, free: 3.129 MB / 0.795 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.0004389/0.6963, allocations: 199.3 kB / 1.051 GB, free: 2.934 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.6968, allocations: 195.8 kB / 1.051 GB, free: 2.742 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6968, allocations: 0 / 1.051 GB, free: 2.742 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.6971, allocations: 116 kB / 1.051 GB, free: 2.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.6981, allocations: 123 kB / 1.051 GB, free: 2.512 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/0.699, allocations: 0.6297 MB / 1.052 GB, free: 1.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.6994, allocations: 0.7755 MB / 1.053 GB, free: 1.039 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.6996, allocations: 50.33 kB / 1.053 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.6996, allocations: 27.44 kB / 1.053 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.6997, allocations: 0 / 1.053 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of Templates: time 0.01091/0.7106, allocations: 4.908 MB / 1.058 GB, free: 12.12 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches