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.001057/0.001057, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.001709/0.001709, allocations: 161.4 kB / 24.16 MB, free: 336 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 0.9662/0.9662, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.948/1.948, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.283e-06/1.283e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.559e-05, allocations: 6.25 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001805/0.00183, allocations: 1.356 MB / 0.7613 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.002575, allocations: 0.5607 MB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.002603, allocations: 0.5312 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.002622, allocations: 4.875 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.00268, allocations: 5.75 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.003168, allocations: 151 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.003225, allocations: 22.17 kB / 0.7621 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.003265, allocations: 4.5 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.003301, allocations: 13.25 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.069e-05/0.003352, allocations: 7.984 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003366, allocations: 4 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.003688, allocations: 264.2 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.003706, allocations: 7.984 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.003723, allocations: 5.25 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.003929, allocations: 159.4 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003931, allocations: 0 / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003932, allocations: 0 / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003936, allocations: 9.094 kB / 0.7625 GB, free: 4.109 MB / 0.7136 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.0003085/0.004245, allocations: 256.3 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.004282, allocations: 9.281 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.004306, allocations: 4.938 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.004391, allocations: 109.7 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.0044, allocations: 1.406 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.004409, allocations: 4.375 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/0.004488, allocations: 38.25 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.004496, allocations: 0.7188 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004504, allocations: 4.359 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.004512, allocations: 5.969 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.004534, allocations: 15.86 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.004739, allocations: 152.6 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.004876, allocations: 39.77 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.004892, allocations: 12.92 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.004911, allocations: 5.5 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.00493, allocations: 30.56 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.004931, allocations: 0 / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.000102/0.005033, allocations: 45.62 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.005064, allocations: 59.94 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.254e-05/0.005117, allocations: 102.7 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.005127, allocations: 26.45 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.005161, allocations: 80.14 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.005174, allocations: 24.58 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.005199, allocations: 17.7 kB / 0.7635 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.005289, allocations: 311.7 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.0053, allocations: 4 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.005321, allocations: 23.08 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.005351, allocations: 25.64 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005353, allocations: 0 / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.422e-05/0.005407, allocations: 46.34 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005419, allocations: 6 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005424, allocations: 0 / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.005437, allocations: 4 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.009e-05/0.005477, allocations: 15.86 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.00548, allocations: 0 / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.005493, allocations: 6.438 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.005497, allocations: 128 / 0.7639 GB, free: 2.5 MB / 0.7136 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.805e-05/0.005555, allocations: 113.8 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.005568, allocations: 0 / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.945e-05/0.005667, allocations: 65.67 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.00567, allocations: 2.25 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.005672, allocations: 3.938 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.005675, allocations: 3.938 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.073e-05/0.005766, allocations: 65.95 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.005768, allocations: 3.984 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.005788, allocations: 4 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.00579, allocations: 5.016 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.005795, allocations: 0 / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005796, allocations: 0 / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005797, allocations: 0.9375 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.577e-05/0.005883, allocations: 147.5 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.005888, allocations: 0 / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-06/0.005896, allocations: 0.7188 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/0.00592, allocations: 0 / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.005935, allocations: 10.73 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.005938, allocations: 0 / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.183e-05/0.00595, allocations: 16.73 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00595, allocations: 0 / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001532/0.006103, allocations: 19.88 kB / 0.7644 GB, free: 2 MB / 0.7136 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.0001549/0.006258, allocations: 100.3 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.006324, allocations: 23.78 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.006327, allocations: 0 / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.006339, allocations: 16.78 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.006441, allocations: 4 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.006667, allocations: 120.6 kB / 0.7646 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.088e-05/0.006697, allocations: 57.2 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.006721, allocations: 0 / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.006756, allocations: 52.22 kB / 0.7647 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/0.006757, allocations: 0 / 0.7647 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of Templates: time 0.002288/0.009044, allocations: 0.5988 MB / 0.7653 GB, free: 1.008 MB / 0.7136 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.022776300087571]