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.00574/0.00574, allocations: 102.7 kB / 15.73 MB, free: 6.047 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.001355/0.001355, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.248/2.248, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 66.73 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2041, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.008682/0.2129, allocations: 10.13 MB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.215, allocations: 2.224 MB / 1.1 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2151, allocations: 7.938 kB / 1.1 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.2154, allocations: 95.3 kB / 1.1 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.2158, allocations: 246.8 kB / 1.1 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.2164, allocations: 234.1 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.2167, allocations: 439.5 kB / 1.1 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.217, allocations: 143 kB / 1.101 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.2173, allocations: 215.1 kB / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.2174, allocations: 119.4 kB / 1.101 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2174, allocations: 8 kB / 1.101 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.2177, allocations: 163.7 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.2177, allocations: 35.91 kB / 1.101 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.2178, allocations: 75.55 kB / 1.101 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.2181, allocations: 248.2 kB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2181, allocations: 0 / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2181, allocations: 0 / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2181, allocations: 4 kB / 1.101 GB, free: 3.594 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.0004989/0.2186, allocations: 482.6 kB / 1.102 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.2187, allocations: 12.03 kB / 1.102 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.2187, allocations: 38.73 kB / 1.102 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.2188, allocations: 20.75 kB / 1.102 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.219, allocations: 248.9 kB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2191, allocations: 12.38 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2191, allocations: 12.38 kB / 1.102 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.2193, allocations: 143.1 kB / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2194, allocations: 0 / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2194, allocations: 4 kB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2194, allocations: 11.98 kB / 1.102 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.2196, allocations: 83.94 kB / 1.102 GB, free: 2.441 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.0006222/0.2203, allocations: 0.5354 MB / 1.103 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.2204, allocations: 89.12 kB / 1.103 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2206, allocations: 61.8 kB / 1.103 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.2208, allocations: 336.4 kB / 1.103 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2208, allocations: 38.55 kB / 1.104 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2208, allocations: 0 / 1.104 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000429/0.2213, allocations: 161.4 kB / 1.104 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.2213, allocations: 77.11 kB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2214, allocations: 190.3 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2215, allocations: 25.7 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.2215, allocations: 128.2 kB / 1.104 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.2215, allocations: 23.78 kB / 1.104 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2216, allocations: 29.64 kB / 1.104 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.2217, allocations: 322.8 kB / 1.104 GB, free: 240 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.2218, allocations: 31.97 kB / 1.104 GB, free: 208 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2219, allocations: 71.39 kB / 1.105 GB, free: 124 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.2221, allocations: 94.52 kB / 1.105 GB, free: 20 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2221, allocations: 256 / 1.105 GB, free: 20 kB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002735/0.2224, allocations: 141.3 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2224, allocations: 4 kB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2224, allocations: 4 kB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2224, allocations: 3.938 kB / 1.105 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2226, allocations: 39.95 kB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2227, allocations: 4 kB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.2228, allocations: 16.17 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2228, allocations: 0 / 1.105 GB, free: 15.8 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 7.99e-05/0.2229, allocations: 134.4 kB / 1.105 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.2229, allocations: 23.73 kB / 1.105 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.2231, allocations: 138.5 kB / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2231, allocations: 0 / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2232, allocations: 0 / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2232, allocations: 0 / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.2236, allocations: 472.7 kB / 1.106 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2237, allocations: 4 kB / 1.106 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2238, allocations: 39.95 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2238, allocations: 0 / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2239, allocations: 4 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2239, allocations: 0 / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2239, allocations: 7.938 kB / 1.106 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.2242, allocations: 349.1 kB / 1.106 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.2243, allocations: 96.91 kB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.2243, allocations: 4 kB / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2244, allocations: 11.98 kB / 1.106 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.2245, allocations: 19.86 kB / 1.106 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.2245, allocations: 7.938 kB / 1.106 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.2246, allocations: 136.5 kB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.2246, allocations: 0 / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003141/0.2249, allocations: 51.94 kB / 1.106 GB, free: 14.21 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.0007344/0.2257, allocations: 0.9537 MB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.2259, allocations: 103.9 kB / 1.107 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.226, allocations: 0 / 1.107 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2261, allocations: 60.17 kB / 1.107 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.2266, allocations: 83.94 kB / 1.107 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2285, allocations: 1.968 MB / 1.109 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2287, allocations: 0.728 MB / 1.11 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.361e-05/0.2288, allocations: 29.41 kB / 1.11 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.2288, allocations: 47.42 kB / 1.11 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.2289, allocations: 0 / 1.11 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.842/2.071, allocations: 5.268 MB / 1.115 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/18.09, allocations: 6.375 kB / 1.115 GB, free: 4.961 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