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.0009737/0.0009737, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002234, 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.0008295/0.0008295, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.00199, 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/1.147, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.512/2.512, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2502/2.762, allocations: 145.9 MB / 0.817 GB, free: 4.223 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_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.492e-06/1.492e-06, allocations: 3.938 kB / 0.8184 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.725e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.002215/0.002242, allocations: 1.472 MB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003396, allocations: 0.9692 MB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.003437, allocations: 0 / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.00345, allocations: 7.922 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.003495, allocations: 3.938 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.003938, allocations: 266.8 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.004019, allocations: 31.86 kB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.00406, allocations: 7.938 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.004135, allocations: 19.98 kB / 0.8211 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.004185, allocations: 23.91 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.004197, allocations: 0 / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005745/0.004771, allocations: 0.5109 MB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.004787, allocations: 4 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.004807, allocations: 7.938 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.005129, allocations: 287.2 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.76e-05/0.005147, allocations: 4 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005148, allocations: 0 / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.005166, allocations: 0 / 0.8219 GB, free: 15.23 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.0004946/0.005661, allocations: 339.6 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.005712, allocations: 12.62 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.00575, allocations: 4.938 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.005874, allocations: 116.6 kB / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.005889, allocations: 384 / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.005899, allocations: 384 / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.005991, allocations: 38.25 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006001, allocations: 192 / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.006011, allocations: 8.062 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006018, allocations: 0 / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.006035, allocations: 4 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.006139, allocations: 64.98 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.059e-05/0.006199, allocations: 22.59 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.006217, allocations: 8.844 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.006244, allocations: 4.062 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.006275, allocations: 30.56 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.006276, allocations: 0 / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.006416, allocations: 41.64 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.006459, allocations: 51.41 kB / 0.8226 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.006564, allocations: 134.5 kB / 0.8227 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.006575, allocations: 25.83 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.006611, allocations: 92.09 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.006634, allocations: 11.92 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.006665, allocations: 21.72 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.006771, allocations: 318.8 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.006787, allocations: 8 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.006798, allocations: 8 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.006839, allocations: 32.7 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006842, allocations: 0 / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.858e-05/0.0069, allocations: 53.7 kB / 0.8233 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.006912, allocations: 4 kB / 0.8233 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.006928, allocations: 11.92 kB / 0.8233 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006939, allocations: 0 / 0.8233 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.007107, allocations: 12 kB / 0.8233 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002769/0.007384, allocations: 0.5898 MB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.007407, allocations: 7.891 kB / 0.8239 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.007413, allocations: 4 kB / 0.8239 GB, free: 13 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 6.199e-05/0.007475, allocations: 113.8 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.007482, allocations: 3.938 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.007565, allocations: 45.38 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.007568, allocations: 4 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.007571, allocations: 4 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.007574, allocations: 0 / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.841e-05/0.007632, allocations: 69.89 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007634, allocations: 4 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.0077, allocations: 15.92 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.007711, allocations: 3.953 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007713, allocations: 0 / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.007719, allocations: 11.92 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002051/0.007924, allocations: 0.586 MB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.007926, allocations: 0 / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.693e-05/0.007973, allocations: 65 kB / 0.8248 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.007982, allocations: 0 / 0.8248 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-06/0.007992, allocations: 8 kB / 0.8248 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.008003, allocations: 0 / 0.8248 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.008005, allocations: 0 / 0.8248 GB, free: 12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.727e-05/0.008022, allocations: 20.83 kB / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008022, allocations: 0 / 0.8248 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001602/0.008182, allocations: 51.8 kB / 0.8248 GB, free: 11.93 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.0002064/0.008389, allocations: 140.4 kB / 0.825 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.008519, allocations: 62.53 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.008524, allocations: 4 kB / 0.825 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.008548, allocations: 20.78 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.0001298/0.008678, allocations: 15.86 kB / 0.8251 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.009153, allocations: 132.5 kB / 0.8252 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.345e-05/0.009187, allocations: 59.34 kB / 0.8253 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.009212, allocations: 4 kB / 0.8253 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.009263, allocations: 55.38 kB / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of SimCode: time 1.322e-06/0.009264, allocations: 0 / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.003823/0.01309, allocations: 1.733 MB / 0.827 GB, free: 9.66 MB / 0.8073 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 -ignoreHideResult -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: 5.610187781043351]