Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0009236/0.0009236, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009328/0.0009328, allocations: 169 kB / 24.28 MB, free: 280 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.026/1.026, allocations: 177.2 MB / 204.6 MB, free: 5.633 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.915/1.915, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.153e-05, allocations: 3.344 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002656/0.002688, allocations: 1.314 MB / 0.8128 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.003673, allocations: 0.5512 MB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.003704, allocations: 1.531 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.003727, allocations: 3.984 kB / 0.8133 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.00378, allocations: 7.875 kB / 0.8134 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.004389, allocations: 132.8 kB / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.004469, allocations: 15.92 kB / 0.8135 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.004517, allocations: 0.5312 kB / 0.8135 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.004552, allocations: 4 kB / 0.8135 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.004602, allocations: 5.578 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.004618, allocations: 0 / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.005082, allocations: 275.4 kB / 0.8138 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.005099, allocations: 0 / 0.8138 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.005122, allocations: 4.562 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.005414, allocations: 147.6 kB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.005419, allocations: 0.75 kB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00542, allocations: 0 / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.005425, allocations: 0.625 kB / 0.8139 GB, free: 15.65 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004243/0.005849, allocations: 384.5 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.005898, allocations: 12.75 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.005944, allocations: 4.922 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.006058, allocations: 106.3 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.006074, allocations: 4.375 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.006085, allocations: 384 / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.006191, allocations: 39.95 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.0062, allocations: 192 / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.006211, allocations: 384 / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.006219, allocations: 384 / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.006241, allocations: 3.938 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.006395, allocations: 117.7 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.006453, allocations: 31.09 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.006475, allocations: 14.97 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.006495, allocations: 3.938 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.006523, allocations: 37.39 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.006524, allocations: 0 / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/0.006677, allocations: 41.69 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.006713, allocations: 51.41 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.00681, allocations: 157.9 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.006821, allocations: 26.83 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.006865, allocations: 126.9 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.006899, allocations: 15.88 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.006937, allocations: 23.89 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.007086, allocations: 492.7 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.007108, allocations: 4 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.007117, allocations: 4.5 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.007153, allocations: 16.66 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007156, allocations: 0 / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.391e-05/0.00723, allocations: 38.66 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.007247, allocations: 8 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.007253, allocations: 2.312 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.007269, allocations: 0 / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.00745, allocations: 8 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/0.007925, allocations: 0.901 MB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.00795, allocations: 4.469 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.007956, allocations: 0 / 0.8165 GB, free: 12.78 MB / 0.7761 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 0.0001025/0.008059, allocations: 161.3 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.00807, allocations: 4.75 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.008198, allocations: 45.94 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008201, allocations: 0 / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.008205, allocations: 0 / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008209, allocations: 5.156 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.008305, allocations: 112.6 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008308, allocations: 0 / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.008396, allocations: 12.95 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.0084, allocations: 0 / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.008409, allocations: 3.938 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003812/0.00879, allocations: 0.8955 MB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008792, allocations: 4 kB / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.571e-05/0.008877, allocations: 84.3 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.008886, allocations: 1.031 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.008899, allocations: 4 kB / 0.8178 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.008913, allocations: 0 / 0.8178 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.008933, allocations: 5.078 kB / 0.8178 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-06/0.008937, allocations: 0 / 0.8178 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.008986, allocations: 128.2 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008986, allocations: 0 / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002453/0.009231, allocations: 11.94 kB / 0.8179 GB, free: 11.22 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 (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 0.000194/0.009425, allocations: 106.8 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.009609, allocations: 24.27 kB / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.009613, allocations: 5.625 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.009672, allocations: 23.61 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.009842, allocations: 7.938 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.01021, allocations: 103.6 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.01024, allocations: 55.34 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.01027, allocations: 0.6562 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.01028, allocations: 12.5 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.01029, allocations: 0.9062 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.003112/0.0134, allocations: 0.4947 MB / 0.8187 GB, free: 10.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.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.181435457896441]