Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.001007/0.001007, allocations: 109.3 kB / 20.47 MB, free: 4.613 MB / 13.93 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.001842/0.001842, allocations: 221.5 kB / 23.78 MB, free: 2.094 MB / 13.93 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.011/1.011, allocations: 230.6 MB / 257.5 MB, free: 9.594 MB / 202.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.935/1.935, allocations: 0.4898 GB / 0.7964 GB, free: 2.332 MB / 0.6355 GB " [Timeout remaining time 177] 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.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 67.89 kB / 1.155 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.758, allocations: 176.2 MB / 1.327 GB, free: 9.535 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002083/0.7601, allocations: 1.291 MB / 1.328 GB, free: 8.234 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0007223/0.7608, allocations: 0.5421 MB / 1.329 GB, free: 7.691 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.7608, allocations: 0 / 1.329 GB, free: 7.691 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.7608, allocations: 7.938 kB / 1.329 GB, free: 7.684 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.7609, allocations: 0 / 1.329 GB, free: 7.684 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.7613, allocations: 149.5 kB / 1.329 GB, free: 7.539 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.7614, allocations: 15.92 kB / 1.329 GB, free: 7.523 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.7614, allocations: 0 / 1.329 GB, free: 7.523 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 2.009e-05/0.7615, allocations: 7.984 kB / 1.329 GB, free: 7.516 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.7615, allocations: 3.938 kB / 1.329 GB, free: 7.512 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.7615, allocations: 0 / 1.329 GB, free: 7.512 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.7618, allocations: 319.4 kB / 1.33 GB, free: 7.199 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.7619, allocations: 4 kB / 1.33 GB, free: 7.195 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.7619, allocations: 4 kB / 1.33 GB, free: 7.191 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.7621, allocations: 137.4 kB / 1.33 GB, free: 7.059 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7621, allocations: 0 / 1.33 GB, free: 7.059 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7621, allocations: 0 / 1.33 GB, free: 7.059 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.7621, allocations: 0 / 1.33 GB, free: 7.059 MB / 1.01 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.0003309/0.7624, allocations: 274 kB / 1.33 GB, free: 6.758 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7624, allocations: 12.03 kB / 1.33 GB, free: 6.746 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.7625, allocations: 0.9375 kB / 1.33 GB, free: 6.746 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.7625, allocations: 118.5 kB / 1.33 GB, free: 6.605 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.7626, allocations: 8.312 kB / 1.33 GB, free: 6.598 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7626, allocations: 384 / 1.33 GB, free: 6.598 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.372e-05/0.7627, allocations: 30.27 kB / 1.33 GB, free: 6.562 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7627, allocations: 192 / 1.33 GB, free: 6.562 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.7627, allocations: 3.938 kB / 1.33 GB, free: 6.559 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7627, allocations: 0 / 1.33 GB, free: 6.559 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.7627, allocations: 4 kB / 1.33 GB, free: 6.555 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.7628, allocations: 113.3 kB / 1.33 GB, free: 6.414 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.7628, allocations: 18.58 kB / 1.33 GB, free: 6.387 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.7629, allocations: 16.86 kB / 1.33 GB, free: 6.367 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.7629, allocations: 4.062 kB / 1.33 GB, free: 6.363 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.7629, allocations: 30.56 kB / 1.33 GB, free: 6.324 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.7629, allocations: 0 / 1.33 GB, free: 6.324 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001199/0.763, allocations: 49.56 kB / 1.33 GB, free: 6.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.7631, allocations: 55.41 kB / 1.33 GB, free: 6.203 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.132e-05/0.7631, allocations: 93.8 kB / 1.33 GB, free: 6.102 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.7631, allocations: 25.7 kB / 1.33 GB, free: 6.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.7631, allocations: 88.38 kB / 1.331 GB, free: 5.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.7632, allocations: 7.953 kB / 1.331 GB, free: 5.973 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.7632, allocations: 21.7 kB / 1.331 GB, free: 5.945 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.7633, allocations: 310.8 kB / 1.331 GB, free: 5.633 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.7633, allocations: 0 / 1.331 GB, free: 5.633 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.7633, allocations: 4 kB / 1.331 GB, free: 5.629 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.7633, allocations: 12.86 kB / 1.331 GB, free: 5.613 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7633, allocations: 0 / 1.331 GB, free: 5.613 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.61e-05/0.7633, allocations: 45.58 kB / 1.331 GB, free: 5.562 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7634, allocations: 8 kB / 1.331 GB, free: 5.555 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7634, allocations: 4.094 kB / 1.331 GB, free: 5.551 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7634, allocations: 3.938 kB / 1.331 GB, free: 5.547 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.7635, allocations: 12 kB / 1.331 GB, free: 5.535 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003142/0.7638, allocations: 0.5821 MB / 1.332 GB, free: 4.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.7639, allocations: 0 / 1.332 GB, free: 4.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.7639, allocations: 4.031 kB / 1.332 GB, free: 4.926 MB / 1.01 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.246e-05/0.7639, allocations: 110.3 kB / 1.332 GB, free: 4.809 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-06/0.7639, allocations: 0 / 1.332 GB, free: 4.809 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.432e-05/0.764, allocations: 53.03 kB / 1.332 GB, free: 4.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.764, allocations: 4 kB / 1.332 GB, free: 4.746 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.764, allocations: 0 / 1.332 GB, free: 4.746 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.764, allocations: 0 / 1.332 GB, free: 4.746 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.824e-05/0.7641, allocations: 97.33 kB / 1.332 GB, free: 4.621 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.7641, allocations: 7.938 kB / 1.332 GB, free: 4.613 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.7642, allocations: 7.984 kB / 1.332 GB, free: 4.605 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7642, allocations: 7.938 kB / 1.332 GB, free: 4.598 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.7642, allocations: 0 / 1.332 GB, free: 4.598 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001891/0.7643, allocations: 0.586 MB / 1.332 GB, free: 3.988 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7643, allocations: 0 / 1.332 GB, free: 3.988 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.822e-05/0.7644, allocations: 77.03 kB / 1.332 GB, free: 3.895 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.7644, allocations: 0 / 1.332 GB, free: 3.895 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.7644, allocations: 0 / 1.332 GB, free: 3.895 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-06/0.7644, allocations: 0 / 1.332 GB, free: 3.895 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.7644, allocations: 4 kB / 1.332 GB, free: 3.891 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.7644, allocations: 7.938 kB / 1.332 GB, free: 3.883 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.302e-05/0.7645, allocations: 79.27 kB / 1.333 GB, free: 3.805 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.7645, allocations: 0 / 1.333 GB, free: 3.805 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001367/0.7646, allocations: 24.06 kB / 1.333 GB, free: 3.781 MB / 1.01 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.0001408/0.7647, allocations: 121.8 kB / 1.333 GB, free: 3.652 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.7649, allocations: 19.92 kB / 1.333 GB, free: 3.633 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7649, allocations: 0 / 1.333 GB, free: 3.633 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.7649, allocations: 12 kB / 1.333 GB, free: 3.621 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.7653, allocations: 6.25 kB / 1.333 GB, free: 3.617 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.7656, allocations: 126.5 kB / 1.333 GB, free: 3.461 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.7656, allocations: 59.34 kB / 1.333 GB, free: 3.383 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.7656, allocations: 11.44 kB / 1.333 GB, free: 3.371 MB / 1.01 GB Notification: Performance of SimCode: time 3.51e-07/0.7656, allocations: 0 / 1.333 GB, free: 3.371 MB / 1.01 GB Notification: Performance of Templates: time 0.001773/0.7674, allocations: 0.7569 MB / 1.334 GB, free: 2.617 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_inv.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: 8.139540498144925]