Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009421/0.0009421, allocations: 100.3 kB / 19.7 MB, free: 444 kB / 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.00105/0.00105, allocations: 209.2 kB / 22.99 MB, free: 2.988 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.017/1.017, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.436/2.436, allocations: 0.5701 GB / 0.876 GB, free: 16.51 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.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.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 72.39 kB / 1.275 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3156, allocations: 196.8 MB / 1.467 GB, free: 3.727 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002031/0.3176, allocations: 1.309 MB / 1.468 GB, free: 2.406 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0007521/0.3184, allocations: 0.5467 MB / 1.469 GB, free: 1.859 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.3184, allocations: 0 / 1.469 GB, free: 1.859 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.3184, allocations: 4 kB / 1.469 GB, free: 1.855 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.3185, allocations: 7.938 kB / 1.469 GB, free: 1.848 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.319, allocations: 158.6 kB / 1.469 GB, free: 1.695 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.3191, allocations: 7.938 kB / 1.469 GB, free: 1.688 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.3191, allocations: 7.938 kB / 1.469 GB, free: 1.68 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.087e-05/0.3192, allocations: 7.984 kB / 1.469 GB, free: 1.672 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.3192, allocations: 7.938 kB / 1.469 GB, free: 1.664 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.3192, allocations: 0 / 1.469 GB, free: 1.664 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.3196, allocations: 319.4 kB / 1.469 GB, free: 1.352 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.3196, allocations: 0 / 1.469 GB, free: 1.352 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.3196, allocations: 0 / 1.469 GB, free: 1.352 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.3198, allocations: 131.6 kB / 1.47 GB, free: 1.223 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3198, allocations: 0 / 1.47 GB, free: 1.223 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3198, allocations: 0 / 1.47 GB, free: 1.223 MB / 1.135 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3198, allocations: 4 kB / 1.47 GB, free: 1.219 MB / 1.135 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.0003822/0.3202, allocations: 274 kB / 1.47 GB, free: 0.918 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3202, allocations: 15.92 kB / 1.47 GB, free: 0.9023 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3203, allocations: 8.891 kB / 1.47 GB, free: 0.8945 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.3204, allocations: 110.5 kB / 1.47 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.3204, allocations: 384 / 1.47 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3204, allocations: 384 / 1.47 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/0.3205, allocations: 34.25 kB / 1.47 GB, free: 0.7227 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3205, allocations: 192 / 1.47 GB, free: 0.7227 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3205, allocations: 3.938 kB / 1.47 GB, free: 0.7188 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3205, allocations: 4 kB / 1.47 GB, free: 0.7148 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.3205, allocations: 4 kB / 1.47 GB, free: 0.7109 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.3206, allocations: 101.3 kB / 1.47 GB, free: 0.582 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 5.081e-05/0.3207, allocations: 26.55 kB / 1.47 GB, free: 0.5469 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.3207, allocations: 12.92 kB / 1.47 GB, free: 0.5312 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3207, allocations: 0 / 1.47 GB, free: 0.5312 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3207, allocations: 34.56 kB / 1.47 GB, free: 500 kB / 1.135 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3207, allocations: 0 / 1.47 GB, free: 500 kB / 1.135 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.3209, allocations: 45.62 kB / 1.47 GB, free: 448 kB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.3209, allocations: 55.34 kB / 1.47 GB, free: 380 kB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.321, allocations: 93.86 kB / 1.47 GB, free: 276 kB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.321, allocations: 25.7 kB / 1.47 GB, free: 244 kB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.321, allocations: 88.06 kB / 1.47 GB, free: 152 kB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.321, allocations: 8.203 kB / 1.47 GB, free: 144 kB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.3211, allocations: 21.7 kB / 1.47 GB, free: 116 kB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.3212, allocations: 310.8 kB / 1.471 GB, free: 15.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.3212, allocations: 4 kB / 1.471 GB, free: 15.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.3212, allocations: 4 kB / 1.471 GB, free: 15.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.3212, allocations: 12.86 kB / 1.471 GB, free: 15.78 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3212, allocations: 0 / 1.471 GB, free: 15.78 MB / 1.151 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.894e-05/0.3213, allocations: 45.62 kB / 1.471 GB, free: 15.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3213, allocations: 4 kB / 1.471 GB, free: 15.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3213, allocations: 4.031 kB / 1.471 GB, free: 15.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3213, allocations: 11.94 kB / 1.471 GB, free: 15.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3215, allocations: 4 kB / 1.471 GB, free: 15.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002729/0.3217, allocations: 0.586 MB / 1.471 GB, free: 15.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.3218, allocations: 0 / 1.471 GB, free: 15.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3218, allocations: 0 / 1.471 GB, free: 15.09 MB / 1.151 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.292e-05/0.3218, allocations: 121.7 kB / 1.472 GB, free: 14.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.3218, allocations: 3.953 kB / 1.472 GB, free: 14.96 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3219, allocations: 53.03 kB / 1.472 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3219, allocations: 0 / 1.472 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3219, allocations: 0 / 1.472 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3219, allocations: 0 / 1.472 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.996e-05/0.322, allocations: 101.3 kB / 1.472 GB, free: 14.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.322, allocations: 3.938 kB / 1.472 GB, free: 14.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.3221, allocations: 15.98 kB / 1.472 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3221, allocations: 0 / 1.472 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.3221, allocations: 0 / 1.472 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001953/0.3223, allocations: 0.5821 MB / 1.472 GB, free: 14.15 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3223, allocations: 4.125 kB / 1.472 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.803e-05/0.3223, allocations: 69.03 kB / 1.472 GB, free: 14.06 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.3223, allocations: 8 kB / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.3223, allocations: 0 / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-06/0.3223, allocations: 0 / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.3224, allocations: 0 / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3224, allocations: 4 kB / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.699e-05/0.3224, allocations: 83.27 kB / 1.472 GB, free: 13.96 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3224, allocations: 3.938 kB / 1.472 GB, free: 13.96 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001379/0.3225, allocations: 19.88 kB / 1.472 GB, free: 13.94 MB / 1.151 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.0001637/0.3227, allocations: 115.3 kB / 1.473 GB, free: 13.82 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3228, allocations: 19.92 kB / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3228, allocations: 0 / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.3229, allocations: 16 kB / 1.473 GB, free: 13.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.323, allocations: 5.703 kB / 1.473 GB, free: 13.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.3233, allocations: 136 kB / 1.473 GB, free: 13.61 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.3234, allocations: 63.33 kB / 1.473 GB, free: 13.53 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.3234, allocations: 7.438 kB / 1.473 GB, free: 13.52 MB / 1.151 GB Notification: Performance of SimCode: time 7.21e-07/0.3234, allocations: 0 / 1.473 GB, free: 13.52 MB / 1.151 GB Notification: Performance of Templates: time 0.002263/0.3256, allocations: 0.7607 MB / 1.474 GB, free: 12.77 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.408599124290049]