Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.002629/0.002629, allocations: 88.44 kB / 19.17 MB, free: 0.7344 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.003256/0.003256, allocations: 165.9 kB / 22.45 MB, free: 2.105 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 1.656/1.656, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 3.867/3.867, allocations: 440.4 MB / 0.6832 GB, free: 12.67 MB / 0.6511 GB " [Timeout remaining time 176] 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_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.InvertingPowerLaw_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.InvertingPowerLaw_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 1.083 GB, free: 24.04 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.285e-05, allocations: 2.281 kB / 1.083 GB, free: 24.03 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.003372/0.003405, allocations: 1.388 MB / 1.084 GB, free: 23.07 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.004937, allocations: 0.9058 MB / 1.085 GB, free: 22.47 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.005008, allocations: 6.562 kB / 1.085 GB, free: 22.47 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.005046, allocations: 0 / 1.085 GB, free: 22.47 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.005143, allocations: 11.86 kB / 1.085 GB, free: 22.46 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.006147, allocations: 282.3 kB / 1.086 GB, free: 22.33 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.006256, allocations: 38.27 kB / 1.086 GB, free: 22.31 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.006309, allocations: 6.562 kB / 1.086 GB, free: 22.31 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 6.171e-05/0.006371, allocations: 22.2 kB / 1.086 GB, free: 22.3 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.006426, allocations: 12.61 kB / 1.086 GB, free: 22.3 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.006443, allocations: 2.625 kB / 1.086 GB, free: 22.3 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008812/0.007324, allocations: 494 kB / 1.086 GB, free: 22.21 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.007345, allocations: 9.797 kB / 1.086 GB, free: 22.2 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.007375, allocations: 9.25 kB / 1.086 GB, free: 22.2 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.00795, allocations: 327.2 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.007956, allocations: 2.469 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.234e-06/0.007958, allocations: 0 / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.007965, allocations: 0 / 1.086 GB, free: 22.11 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.0005518/0.008517, allocations: 349.3 kB / 1.087 GB, free: 21.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.008565, allocations: 10.91 kB / 1.087 GB, free: 21.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.008611, allocations: 7.547 kB / 1.087 GB, free: 21.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.008734, allocations: 112.4 kB / 1.087 GB, free: 21.64 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.008752, allocations: 4.375 kB / 1.087 GB, free: 21.63 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.008763, allocations: 3 kB / 1.087 GB, free: 21.63 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.931e-05/0.008862, allocations: 39.36 kB / 1.087 GB, free: 21.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.008872, allocations: 192 / 1.087 GB, free: 21.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.008894, allocations: 4.125 kB / 1.087 GB, free: 21.59 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.0089, allocations: 0 / 1.087 GB, free: 21.59 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.008938, allocations: 5.188 kB / 1.087 GB, free: 21.59 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.009088, allocations: 120.5 kB / 1.087 GB, free: 21.46 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.009156, allocations: 26.02 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.009182, allocations: 7.516 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.009208, allocations: 6.594 kB / 1.087 GB, free: 21.42 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.009231, allocations: 34.56 kB / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.009233, allocations: 0 / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001941/0.009427, allocations: 47.39 kB / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.00946, allocations: 55.34 kB / 1.087 GB, free: 21.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.009562, allocations: 135.4 kB / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.009572, allocations: 29.83 kB / 1.087 GB, free: 21.12 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.009603, allocations: 82.95 kB / 1.087 GB, free: 21.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.009622, allocations: 11.89 kB / 1.087 GB, free: 21.03 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.009662, allocations: 27.19 kB / 1.088 GB, free: 21.01 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.009719, allocations: 314.2 kB / 1.088 GB, free: 20.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.009756, allocations: 16.28 kB / 1.088 GB, free: 20.69 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.009793, allocations: 25.22 kB / 1.088 GB, free: 20.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.009863, allocations: 41.77 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009865, allocations: 3.938 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001223/0.009987, allocations: 82.28 kB / 1.088 GB, free: 20.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01, allocations: 9.5 kB / 1.088 GB, free: 20.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.01002, allocations: 7.375 kB / 1.088 GB, free: 20.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.01004, allocations: 2.562 kB / 1.088 GB, free: 20.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01024, allocations: 18.91 kB / 1.088 GB, free: 20.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003183/0.01056, allocations: 0.5987 MB / 1.089 GB, free: 19.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.01059, allocations: 6.484 kB / 1.089 GB, free: 19.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.0106, allocations: 2.906 kB / 1.089 GB, free: 19.98 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 (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 6.944e-05/0.01067, allocations: 111.1 kB / 1.089 GB, free: 19.87 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.01068, allocations: 10.73 kB / 1.089 GB, free: 19.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.01081, allocations: 54.77 kB / 1.089 GB, free: 19.82 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01082, allocations: 0 / 1.089 GB, free: 19.82 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01082, allocations: 0 / 1.089 GB, free: 19.82 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01082, allocations: 0 / 1.089 GB, free: 19.82 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.633e-05/0.0109, allocations: 116.6 kB / 1.089 GB, free: 19.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.0109, allocations: 0 / 1.089 GB, free: 19.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.01098, allocations: 19.69 kB / 1.089 GB, free: 19.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01099, allocations: 3.938 kB / 1.089 GB, free: 19.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.011, allocations: 4 kB / 1.089 GB, free: 19.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002186/0.01122, allocations: 0.6012 MB / 1.089 GB, free: 19.08 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01122, allocations: 0 / 1.089 GB, free: 19.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.01129, allocations: 76.27 kB / 1.09 GB, free: 19 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.0113, allocations: 7.891 kB / 1.09 GB, free: 19 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.01131, allocations: 0 / 1.09 GB, free: 19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.702e-05/0.01133, allocations: 2.906 kB / 1.09 GB, free: 19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.01134, allocations: 0 / 1.09 GB, free: 19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.01135, allocations: 0 / 1.09 GB, free: 19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.01138, allocations: 93.72 kB / 1.09 GB, free: 18.92 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.01138, allocations: 0 / 1.09 GB, free: 18.92 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002799/0.01166, allocations: 42.98 kB / 1.09 GB, free: 18.91 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.0002585/0.01192, allocations: 140.5 kB / 1.09 GB, free: 18.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.01214, allocations: 75.61 kB / 1.09 GB, free: 18.76 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01215, allocations: 2.969 kB / 1.09 GB, free: 18.76 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.01223, allocations: 23.19 kB / 1.09 GB, free: 18.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01247, allocations: 14.91 kB / 1.09 GB, free: 18.75 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.01286, allocations: 131.5 kB / 1.09 GB, free: 18.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.247e-05/0.01291, allocations: 69.62 kB / 1.09 GB, free: 18.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.01293, allocations: 6.656 kB / 1.09 GB, free: 18.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.01295, allocations: 8.5 kB / 1.09 GB, free: 18.54 MB / 1.01 GB Notification: Performance of SimCode: time 4.41e-07/0.01295, allocations: 0 / 1.09 GB, free: 18.54 MB / 1.01 GB Notification: Performance of Templates: time 0.004967/0.01792, allocations: 1.457 MB / 1.092 GB, free: 18.42 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_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: 10.064574605086818]