Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0009064/0.0009064, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.00092/0.00092, allocations: 165 kB / 23.82 MB, free: 0.7422 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 0.9839/0.9839, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.874/1.874, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.996e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001818/0.001838, allocations: 1.346 MB / 0.8128 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.002672, allocations: 0.5634 MB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.002699, allocations: 1.656 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.002723, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.00277, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.003222, allocations: 152.7 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.003279, allocations: 23.86 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.003319, allocations: 4 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.428e-05/0.003353, allocations: 9.734 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.003399, allocations: 4 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.003412, allocations: 0 / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.003779, allocations: 279.3 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.003793, allocations: 0 / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.003816, allocations: 13.2 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.004041, allocations: 159.4 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004043, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004043, allocations: 1.156 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004046, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003584/0.004405, allocations: 383.9 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.004441, allocations: 12.81 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.004475, allocations: 5.234 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.004555, allocations: 118.7 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.004566, allocations: 4.375 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.004576, allocations: 384 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/0.004658, allocations: 42.25 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.004669, allocations: 4.125 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.004678, allocations: 0.9062 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.004686, allocations: 384 / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.004718, allocations: 12.66 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.004983, allocations: 252.3 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.00515, allocations: 48.67 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.005178, allocations: 23.73 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.005197, allocations: 0 / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.005219, allocations: 45.94 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.00522, allocations: 0 / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001434/0.005363, allocations: 54.56 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.005389, allocations: 51.41 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.005456, allocations: 158.7 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.005466, allocations: 25.7 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.005511, allocations: 135.4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.005524, allocations: 19.83 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.005556, allocations: 20.75 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.005667, allocations: 0.4884 MB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.005682, allocations: 4 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.005711, allocations: 31.3 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.005751, allocations: 32.19 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005753, allocations: 0.9375 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.513e-05/0.005828, allocations: 57.62 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005841, allocations: 9.219 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005846, allocations: 3.938 kB / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.005862, allocations: 0 / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.669e-05/0.005898, allocations: 12.95 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.005903, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.005921, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.005926, allocations: 10.25 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 5.639e-05/0.005982, allocations: 152.6 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.006005, allocations: 11.95 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.006108, allocations: 61.23 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.006111, allocations: 7.406 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.006114, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006117, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.006228, allocations: 112.6 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006229, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.00625, allocations: 7.984 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.006253, allocations: 4 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.00626, allocations: 0 / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006262, allocations: 3.938 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.006264, allocations: 3.984 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/0.00636, allocations: 201.3 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.006367, allocations: 7.953 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.006376, allocations: 0.5 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.006417, allocations: 3.938 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.006434, allocations: 8.578 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.006437, allocations: 4.562 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.006472, allocations: 123.2 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006472, allocations: 1 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002385/0.006711, allocations: 23.88 kB / 0.8167 GB, free: 12.16 MB / 0.7761 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001312/0.006842, allocations: 116.2 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.604e-05/0.006928, allocations: 36.27 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006929, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.006946, allocations: 20.3 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.007152, allocations: 5.031 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.007396, allocations: 122.3 kB / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.007431, allocations: 59.33 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.007455, allocations: 3.984 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.007474, allocations: 16.5 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of SimCode: time 3.31e-07/0.007474, allocations: 3.938 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.002073/0.009547, allocations: 0.5241 MB / 0.8176 GB, free: 11.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.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.245622702874243]