Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_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.001103/0.001103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002633, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001105/0.001105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002626, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09463/1.109, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.413/2.413, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.31/2.723, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.InvertingPowerLaw_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.522e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv): time 0.003072/0.003097, allocations: 1.469 MB / 0.8198 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004538, allocations: 0.9536 MB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.004588, allocations: 0 / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.004602, allocations: 3.938 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-05/0.004659, allocations: 15.91 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.005627, allocations: 258.8 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.005768, allocations: 39.8 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.005826, allocations: 0 / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005951, allocations: 23.92 kB / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.006025, allocations: 11.98 kB / 0.8211 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.006041, allocations: 4 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.00711, allocations: 0.5187 MB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.007135, allocations: 0 / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.007172, allocations: 11.94 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.007802, allocations: 295.1 kB / 0.8219 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.691e-05/0.007829, allocations: 0 / 0.8219 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.733e-06/0.00783, allocations: 0 / 0.8219 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.007856, allocations: 0 / 0.8219 GB, free: 15.22 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0007703/0.008626, allocations: 339.6 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.008675, allocations: 8.625 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.00872, allocations: 4.938 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.008871, allocations: 121.7 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.008886, allocations: 384 / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.008899, allocations: 384 / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.009022, allocations: 38.25 kB / 0.8223 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.009033, allocations: 192 / 0.8223 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.009046, allocations: 4.125 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.009054, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.009084, allocations: 7.938 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.009231, allocations: 60.98 kB / 0.8224 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.365e-05/0.009304, allocations: 22.61 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.009333, allocations: 12.91 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.009378, allocations: 0 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.009426, allocations: 34.56 kB / 0.8225 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.925e-06/0.009428, allocations: 0 / 0.8225 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.009606, allocations: 37.64 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.009659, allocations: 55.41 kB / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.009801, allocations: 129.5 kB / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.009818, allocations: 29.7 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.009876, allocations: 88.08 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.009909, allocations: 8.078 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.009992, allocations: 29.69 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01014, allocations: 322.8 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.01016, allocations: 4 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.01018, allocations: 11.94 kB / 0.8232 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.998e-05/0.01024, allocations: 28.78 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01025, allocations: 3.938 kB / 0.8232 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001283/0.01038, allocations: 53.84 kB / 0.8233 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.0104, allocations: 4 kB / 0.8233 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.01042, allocations: 7.969 kB / 0.8233 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01044, allocations: 0 / 0.8233 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.01068, allocations: 20 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006048/0.01128, allocations: 0.5937 MB / 0.8239 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.01135, allocations: 15.89 kB / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.01136, allocations: 0 / 0.8239 GB, free: 12.98 MB / 0.8073 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001269/0.01148, allocations: 105.8 kB / 0.824 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.01151, allocations: 7.938 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.01166, allocations: 45.31 kB / 0.824 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01167, allocations: 0 / 0.824 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01167, allocations: 4.094 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01168, allocations: 0 / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.0118, allocations: 73.88 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.0118, allocations: 0 / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.01195, allocations: 11.98 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.01197, allocations: 7.953 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.01198, allocations: 0 / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01199, allocations: 7.875 kB / 0.8241 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004523/0.01244, allocations: 0.5898 MB / 0.8247 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01245, allocations: 4.062 kB / 0.8247 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.01256, allocations: 65.06 kB / 0.8248 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.01257, allocations: 4 kB / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.01259, allocations: 3.938 kB / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.01262, allocations: 0 / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01262, allocations: 0 / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.01267, allocations: 24.83 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01267, allocations: 0 / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003616/0.01303, allocations: 47.8 kB / 0.8248 GB, free: 11.91 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 (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.0003982/0.01343, allocations: 144.2 kB / 0.825 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.01365, allocations: 58.55 kB / 0.825 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.01366, allocations: 0 / 0.825 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.0137, allocations: 12.86 kB / 0.8251 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01391, allocations: 15.92 kB / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008415/0.01475, allocations: 132.5 kB / 0.8252 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.0148, allocations: 63.41 kB / 0.8253 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.01484, allocations: 4 kB / 0.8253 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.01491, allocations: 51.38 kB / 0.8253 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.01491, allocations: 0 / 0.8253 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of Templates: time 0.003857/0.01876, allocations: 1.731 MB / 0.827 GB, free: 9.648 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.ref.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.508652549237013]