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.001083/0.001083, allocations: 76.31 kB / 21.47 MB, free: 3.039 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.001155/0.001155, allocations: 171.2 kB / 24.87 MB, free: 9.258 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.123/1.123, allocations: 177.1 MB / 205.3 MB, free: 5.133 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.981/1.981, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.663e-06/1.663e-06, allocations: 0 / 0.8128 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.846e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00224/0.002259, allocations: 1.312 MB / 0.814 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.003161, allocations: 0.5527 MB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.003186, allocations: 0 / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.003207, allocations: 1.531 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.003257, allocations: 3.938 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.003897, allocations: 140.9 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.003959, allocations: 7.938 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.004011, allocations: 7.984 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.00405, allocations: 3.984 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.004105, allocations: 5.031 kB / 0.8148 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.00412, allocations: 0 / 0.8148 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.004461, allocations: 267.4 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.004475, allocations: 4.781 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.004489, allocations: 7.938 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.004667, allocations: 156.1 kB / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004669, allocations: 0.7812 kB / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004669, allocations: 0 / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.004673, allocations: 1.156 kB / 0.8152 GB, free: 15.05 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.0002885/0.004961, allocations: 379.9 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.004992, allocations: 8.031 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.005016, allocations: 6.312 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.00509, allocations: 105 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.005099, allocations: 384 / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.005106, allocations: 4.375 kB / 0.8157 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.218e-05/0.005158, allocations: 36 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.005165, allocations: 4.188 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.005172, allocations: 4.375 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.005176, allocations: 384 / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.142e-05/0.005188, allocations: 8.938 kB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.313e-05/0.005281, allocations: 97.22 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.005317, allocations: 28.56 kB / 0.8158 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.005329, allocations: 7.688 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.005341, allocations: 8.047 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.005362, allocations: 39.98 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.005363, allocations: 0 / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 9.57e-05/0.005458, allocations: 37.64 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.005485, allocations: 51.41 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.816e-05/0.005543, allocations: 157.9 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-06/0.005551, allocations: 25.7 kB / 0.8161 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.005723, allocations: 131.4 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.005747, allocations: 12.61 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.005768, allocations: 19.38 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.005867, allocations: 0.4889 MB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-06/0.005873, allocations: 1.656 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.005878, allocations: 0 / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.904e-05/0.005897, allocations: 11.69 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005899, allocations: 0 / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.961e-05/0.005939, allocations: 42.12 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.005949, allocations: 11.25 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005953, allocations: 0 / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.00596, allocations: 0.9062 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.006062, allocations: 11.98 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002903/0.006352, allocations: 0.898 MB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.006367, allocations: 3.938 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.006371, allocations: 2.219 kB / 0.8177 GB, free: 12.22 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 6.216e-05/0.006433, allocations: 160.5 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-06/0.006437, allocations: 0 / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.818e-05/0.006505, allocations: 51.66 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.006507, allocations: 0 / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006509, allocations: 0 / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.006511, allocations: 0 / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.46e-05/0.006565, allocations: 97.22 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006566, allocations: 0 / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.00661, allocations: 11.98 kB / 0.818 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006611, allocations: 0 / 0.818 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.006616, allocations: 5.531 kB / 0.818 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002294/0.006845, allocations: 0.8971 MB / 0.8189 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006847, allocations: 3.984 kB / 0.8189 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.619e-05/0.006893, allocations: 78.03 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.006899, allocations: 3.938 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.006907, allocations: 0 / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.006915, allocations: 4.719 kB / 0.819 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.006926, allocations: 7.984 kB / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.006928, allocations: 1.875 kB / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.006959, allocations: 119.2 kB / 0.8191 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006959, allocations: 0 / 0.8191 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000126/0.007085, allocations: 11.94 kB / 0.8191 GB, free: 10.7 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.0001037/0.007189, allocations: 112.5 kB / 0.8192 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.007296, allocations: 24.64 kB / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.007297, allocations: 0 / 0.8193 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.007332, allocations: 24.33 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.659e-05/0.007428, allocations: 10.48 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.007627, allocations: 102.4 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.46e-05/0.007652, allocations: 63.28 kB / 0.8195 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.007664, allocations: 0 / 0.8195 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.007691, allocations: 66.2 kB / 0.8195 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.007691, allocations: 0 / 0.8195 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.002099/0.00979, allocations: 0.5413 MB / 0.82 GB, free: 9.754 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.2980018788948655]