Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009963/0.0009963, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001052/0.001052, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 1.04/1.04, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.945/1.945, allocations: 377.9 MB / 0.6239 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.812 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.213e-05, allocations: 3.078 kB / 0.812 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.005978/0.005991, allocations: 6.631 MB / 0.8185 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.007719, allocations: 1.313 MB / 0.8197 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.00794, allocations: 19.81 kB / 0.8198 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.008243, allocations: 112.9 kB / 0.8199 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.008749, allocations: 275.5 kB / 0.8201 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.009353, allocations: 364.6 kB / 0.8205 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006224/0.009975, allocations: 0.765 MB / 0.8212 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.01027, allocations: 226.7 kB / 0.8214 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.0107, allocations: 395.6 kB / 0.8218 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.0109, allocations: 191.4 kB / 0.822 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.01093, allocations: 20.53 kB / 0.822 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.01111, allocations: 109.2 kB / 0.8221 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.01118, allocations: 71.73 kB / 0.8222 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.01125, allocations: 103.8 kB / 0.8223 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.01156, allocations: 290.9 kB / 0.8226 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01156, allocations: 0.9062 kB / 0.8226 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.8e-07/0.01156, allocations: 4 kB / 0.8226 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.01156, allocations: 0.8438 kB / 0.8226 GB, free: 5.465 MB / 0.7292 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.0005142/0.01208, allocations: 0.6097 MB / 0.8232 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.01211, allocations: 8.031 kB / 0.8232 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.01217, allocations: 52.75 kB / 0.8232 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.01243, allocations: 287.2 kB / 0.8235 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.01244, allocations: 16.88 kB / 0.8235 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.01247, allocations: 24.38 kB / 0.8235 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.01271, allocations: 244 kB / 0.8238 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.01272, allocations: 4.188 kB / 0.8238 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.01273, allocations: 12.12 kB / 0.8238 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.01274, allocations: 4 kB / 0.8238 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.555e-05/0.01281, allocations: 53.81 kB / 0.8238 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.01342, allocations: 0.681 MB / 0.8245 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.283e-05/0.01351, allocations: 90.02 kB / 0.8246 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.01355, allocations: 48.34 kB / 0.8246 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.01362, allocations: 15.94 kB / 0.8247 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.01364, allocations: 38.48 kB / 0.8247 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.01364, allocations: 0 / 0.8247 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001891/0.01383, allocations: 113.5 kB / 0.8248 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.01386, allocations: 86.09 kB / 0.8249 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.014, allocations: 264.4 kB / 0.8251 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.01402, allocations: 29.7 kB / 0.8252 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01412, allocations: 232 kB / 0.8254 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.01415, allocations: 35.69 kB / 0.8254 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.01419, allocations: 44.02 kB / 0.8255 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01431, allocations: 0.5001 MB / 0.8259 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.01433, allocations: 14.08 kB / 0.826 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.01444, allocations: 239.9 kB / 0.8262 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.01452, allocations: 82.34 kB / 0.8263 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01452, allocations: 3.25 kB / 0.8263 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001175/0.01463, allocations: 113.4 kB / 0.8264 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.01464, allocations: 4 kB / 0.8264 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01465, allocations: 4 kB / 0.8264 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01466, allocations: 0 / 0.8264 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01477, allocations: 39.91 kB / 0.8264 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.01477, allocations: 4.938 kB / 0.8264 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.01483, allocations: 23.88 kB / 0.8265 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01484, allocations: 5.031 kB / 0.8265 GB, free: 1.18 MB / 0.7292 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 7.973e-05/0.01492, allocations: 164.5 kB / 0.8266 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01496, allocations: 24.98 kB / 0.8266 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.01511, allocations: 123.4 kB / 0.8268 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01511, allocations: 0 / 0.8268 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01512, allocations: 9.438 kB / 0.8268 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01512, allocations: 0 / 0.8268 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.01549, allocations: 469.2 kB / 0.8272 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.0155, allocations: 11.41 kB / 0.8272 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.01558, allocations: 35.97 kB / 0.8273 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01559, allocations: 7.938 kB / 0.8273 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.01559, allocations: 4 kB / 0.8273 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01559, allocations: 3.938 kB / 0.8273 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.0156, allocations: 4 kB / 0.8273 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.01581, allocations: 417.6 kB / 0.8277 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.01585, allocations: 52.42 kB / 0.8277 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.01587, allocations: 7.938 kB / 0.8277 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.01595, allocations: 13.64 kB / 0.8277 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.01599, allocations: 19.92 kB / 0.8278 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.016, allocations: 7.984 kB / 0.8278 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.01606, allocations: 181.1 kB / 0.8279 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01606, allocations: 0.5 kB / 0.8279 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002457/0.01631, allocations: 76.03 kB / 0.828 GB, free: 15.48 MB / 0.7448 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.0001574/0.01647, allocations: 147.1 kB / 0.8282 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01659, allocations: 81.73 kB / 0.8282 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.01659, allocations: 0 / 0.8282 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.01665, allocations: 55.73 kB / 0.8283 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.01703, allocations: 96.75 kB / 0.8284 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.01769, allocations: 0.4951 MB / 0.8289 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.01775, allocations: 96.16 kB / 0.829 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.01781, allocations: 25.64 kB / 0.829 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.01799, allocations: 146.1 kB / 0.8291 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01799, allocations: 0 / 0.8291 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.006149/0.02414, allocations: 4.494 MB / 0.8335 GB, free: 9.887 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.178291751071811]