Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0009287/0.0009287, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009757/0.0009757, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.444/2.444, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 4 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.385e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001614/0.001628, allocations: 1.368 MB / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006741/0.002302, allocations: 0.5409 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.00232, allocations: 4 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.002335, allocations: 7.938 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.002373, allocations: 0 / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.002706, allocations: 139.2 kB / 0.8407 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.183e-05/0.002747, allocations: 11.88 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.002778, allocations: 0 / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.00281, allocations: 7.984 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.002856, allocations: 8 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.002867, allocations: 0 / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.003188, allocations: 279.4 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.0032, allocations: 4 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.003212, allocations: 4 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.003394, allocations: 151.5 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003395, allocations: 0 / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003396, allocations: 0 / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.003399, allocations: 0 / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005427/0.003942, allocations: 248.7 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.003974, allocations: 12.62 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.93e-05/0.003993, allocations: 0.9375 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.004064, allocations: 109.7 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.004071, allocations: 4.375 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-06/0.004075, allocations: 384 / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.16e-05/0.004127, allocations: 42.25 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.004132, allocations: 192 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-06/0.004137, allocations: 384 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.004141, allocations: 384 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.05e-05/0.004151, allocations: 11.88 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.417e-05/0.004225, allocations: 57.03 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.559e-05/0.004261, allocations: 22.55 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.004272, allocations: 16.91 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.004284, allocations: 0 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004303, allocations: 34.56 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.004304, allocations: 0 / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.351e-05/0.004377, allocations: 29.7 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.004402, allocations: 55.41 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.004451, allocations: 106.6 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.004459, allocations: 25.7 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.00448, allocations: 88.12 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.004501, allocations: 8.141 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.00452, allocations: 17.72 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.004589, allocations: 314.8 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.004594, allocations: 0 / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.004599, allocations: 4 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.757e-05/0.004617, allocations: 12.84 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.004618, allocations: 0 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.188e-05/0.00465, allocations: 29.7 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.00466, allocations: 8 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004664, allocations: 3.938 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.004673, allocations: 4.094 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.004774, allocations: 7.984 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002153/0.004989, allocations: 0.586 MB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-06/0.004999, allocations: 0 / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.005004, allocations: 4 kB / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.00505, allocations: 109.8 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-06/0.005054, allocations: 0 / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.005116, allocations: 49 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.005119, allocations: 11.95 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.00512, allocations: 0 / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.005123, allocations: 0 / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.44e-05/0.005167, allocations: 61.91 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005168, allocations: 0 / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.005207, allocations: 11.98 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005208, allocations: 3.938 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.005212, allocations: 0 / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001621/0.005374, allocations: 0.582 MB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.005374, allocations: 4.062 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.852e-05/0.005413, allocations: 65.06 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.005419, allocations: 7.891 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-06/0.005426, allocations: 0 / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/0.005434, allocations: 8 kB / 0.8438 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-06/0.005442, allocations: 0 / 0.8438 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.005443, allocations: 0 / 0.8438 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.203e-06/0.005451, allocations: 4.859 kB / 0.8438 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005451, allocations: 4 kB / 0.8438 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000101/0.005552, allocations: 7.938 kB / 0.8438 GB, free: 8.617 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.353e-05/0.005645, allocations: 95.2 kB / 0.8439 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.879e-05/0.005734, allocations: 24.78 kB / 0.8439 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.005737, allocations: 4 kB / 0.8439 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.005767, allocations: 16.84 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.233e-05/0.005819, allocations: 3.219 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.006013, allocations: 116.7 kB / 0.844 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.273e-05/0.006036, allocations: 51.36 kB / 0.8441 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.188e-05/0.006048, allocations: 0 / 0.8441 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.00607, allocations: 51.38 kB / 0.8441 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.006071, allocations: 0 / 0.8441 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of Templates: time 0.001822/0.007893, allocations: 0.535 MB / 0.8447 GB, free: 7.707 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.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.191628857050091]