Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001013/0.001013, 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.00105/0.00105, allocations: 177 kB / 23.36 MB, free: 1.125 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.9425/0.9425, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.353/2.353, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.94e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.0019/0.001919, allocations: 1.406 MB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008044/0.002723, allocations: 0.5525 MB / 0.8406 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.002744, allocations: 0 / 0.8406 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.002759, allocations: 7.984 kB / 0.8406 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.0028, allocations: 7.875 kB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.003131, allocations: 139.3 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.586e-05/0.003177, allocations: 19.86 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.003211, allocations: 0 / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.003247, allocations: 15.98 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.00329, allocations: 11.92 kB / 0.8408 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.003301, allocations: 0 / 0.8408 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.003605, allocations: 283.4 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.003618, allocations: 3.938 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.271e-05/0.003631, allocations: 4 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.00381, allocations: 159.5 kB / 0.8412 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.003813, allocations: 3.984 kB / 0.8412 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003814, allocations: 0 / 0.8412 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.003817, allocations: 0 / 0.8412 GB, free: 11.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002555/0.004073, allocations: 256.6 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.004107, allocations: 8.625 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.004131, allocations: 4.938 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.537e-05/0.004207, allocations: 113.8 kB / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.004216, allocations: 8.375 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.004222, allocations: 8.312 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.686e-05/0.004279, allocations: 34.25 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.004285, allocations: 192 / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.004291, allocations: 4.375 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.004295, allocations: 4.375 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.004315, allocations: 7.938 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.004487, allocations: 148.4 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.004602, allocations: 46.48 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.004618, allocations: 12.84 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.004633, allocations: 7.984 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.004648, allocations: 30.56 kB / 0.8419 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.004649, allocations: 0 / 0.8419 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 8.693e-05/0.004736, allocations: 45.69 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.004761, allocations: 59.34 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.15e-05/0.004803, allocations: 102.7 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.004811, allocations: 25.7 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.00485, allocations: 91.97 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.004859, allocations: 19.88 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.004881, allocations: 17.72 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.004949, allocations: 314.8 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.004957, allocations: 4 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.004973, allocations: 21.69 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.005003, allocations: 21.7 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005005, allocations: 0 / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.781e-05/0.005052, allocations: 49.62 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.005063, allocations: 4 kB / 0.8426 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.005067, allocations: 0 / 0.8426 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.005081, allocations: 8.031 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.087e-05/0.005112, allocations: 7.938 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005115, allocations: 4 kB / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.396e-05/0.005129, allocations: 4 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.005132, allocations: 0 / 0.8426 GB, free: 9.949 MB / 0.8073 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 4.641e-05/0.005179, allocations: 117.8 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.005192, allocations: 0 / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.005264, allocations: 53.36 kB / 0.8428 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005265, allocations: 0 / 0.8428 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.005267, allocations: 7.938 kB / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.00527, allocations: 0 / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.548e-05/0.005345, allocations: 73.83 kB / 0.8429 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005346, allocations: 0 / 0.8429 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.777e-05/0.005363, allocations: 12.12 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005365, allocations: 0 / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.005368, allocations: 0 / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005369, allocations: 0 / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005369, allocations: 4 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.307e-05/0.005432, allocations: 143.9 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005439, allocations: 7.938 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-06/0.005445, allocations: 4 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.00547, allocations: 4 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-06/0.00548, allocations: 4.031 kB / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.005481, allocations: 3.938 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.458e-06/0.005491, allocations: 16.8 kB / 0.8431 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005491, allocations: 0 / 0.8431 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001351/0.005626, allocations: 19.92 kB / 0.8431 GB, free: 9.434 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 (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.0001127/0.005739, allocations: 100.3 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.553e-05/0.005794, allocations: 24.78 kB / 0.8432 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.005797, allocations: 4.062 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.005807, allocations: 12.84 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.00591, allocations: 8 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.006111, allocations: 116.6 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.00614, allocations: 55.34 kB / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.006163, allocations: 8 kB / 0.8434 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.006191, allocations: 51.38 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.006192, allocations: 0 / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of Templates: time 0.002422/0.008614, allocations: 0.5828 MB / 0.844 GB, free: 8.422 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.229493941646069]