Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.000813/0.000813, allocations: 100.4 kB / 19.71 MB, free: 448 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.0008037/0.0008037, allocations: 212.1 kB / 23 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 0.903/0.903, allocations: 230.6 MB / 256.8 MB, free: 9.598 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 1.972/1.972, allocations: 0.5056 GB / 0.8115 GB, free: 1.297 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.InvertingPowerLaw_dp,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") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71.89 kB / 1.179 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7357, allocations: 180.5 MB / 1.356 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001797/0.7375, allocations: 1.367 MB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.7384, allocations: 0.844 MB / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.7384, allocations: 0 / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.7384, allocations: 3.938 kB / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.7385, allocations: 3.938 kB / 1.358 GB, free: 12.71 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.7389, allocations: 219 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.739, allocations: 35.84 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.739, allocations: 4 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.739, allocations: 15.92 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.7391, allocations: 19.92 kB / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.7391, allocations: 0 / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.7395, allocations: 375.5 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.7395, allocations: 4 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.7395, allocations: 15.92 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.7398, allocations: 266.3 kB / 1.359 GB, free: 11.78 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7398, allocations: 0 / 1.359 GB, free: 11.78 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7398, allocations: 4 kB / 1.359 GB, free: 11.78 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7398, allocations: 0 / 1.359 GB, free: 11.78 MB / 1.042 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.0003226/0.7401, allocations: 341.3 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.7401, allocations: 12.92 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.7403, allocations: 12.92 kB / 1.359 GB, free: 11.39 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.88e-05/0.7404, allocations: 122.5 kB / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7404, allocations: 384 / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.7404, allocations: 384 / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.7405, allocations: 46.25 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.7405, allocations: 192 / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7405, allocations: 3.938 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.7405, allocations: 3.938 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.7406, allocations: 23.97 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.7407, allocations: 113.3 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.7408, allocations: 42.48 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.7408, allocations: 20.91 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.7408, allocations: 4 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.7408, allocations: 34.56 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.7408, allocations: 0 / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001692/0.741, allocations: 73.5 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.741, allocations: 51.41 kB / 1.36 GB, free: 10.76 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.7411, allocations: 123.7 kB / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.7411, allocations: 29.7 kB / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.7411, allocations: 88.09 kB / 1.36 GB, free: 10.5 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.7412, allocations: 4.109 kB / 1.36 GB, free: 10.5 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.7412, allocations: 25.72 kB / 1.36 GB, free: 10.46 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.7413, allocations: 322.8 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.7413, allocations: 15.98 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.7413, allocations: 23.98 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.744e-05/0.7414, allocations: 44.78 kB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7414, allocations: 0 / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001124/0.7415, allocations: 93.5 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7416, allocations: 8 kB / 1.36 GB, free: 9.949 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7416, allocations: 4 kB / 1.36 GB, free: 9.945 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7416, allocations: 3.938 kB / 1.36 GB, free: 9.941 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.742, allocations: 83.88 kB / 1.36 GB, free: 9.859 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.7431, allocations: 1.38 MB / 1.362 GB, free: 8.375 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.7431, allocations: 7.984 kB / 1.362 GB, free: 8.367 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.7431, allocations: 0 / 1.362 GB, free: 8.367 MB / 1.042 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.268e-05/0.7432, allocations: 123.4 kB / 1.362 GB, free: 8.238 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.7432, allocations: 7.953 kB / 1.362 GB, free: 8.23 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-06/0.7432, allocations: 7.609 kB / 1.362 GB, free: 8.227 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-07/0.7432, allocations: 4 kB / 1.362 GB, free: 8.223 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.7432, allocations: 0 / 1.362 GB, free: 8.223 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7432, allocations: 0 / 1.362 GB, free: 8.223 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.584e-05/0.7432, allocations: 109.2 kB / 1.362 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.7432, allocations: 0 / 1.362 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.7437, allocations: 107.9 kB / 1.362 GB, free: 7.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.7437, allocations: 0 / 1.362 GB, free: 7.98 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.7437, allocations: 0 / 1.362 GB, free: 7.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.7447, allocations: 1.376 MB / 1.363 GB, free: 6.508 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7447, allocations: 0 / 1.363 GB, free: 6.508 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.061e-05/0.7448, allocations: 85.19 kB / 1.363 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.7448, allocations: 11.97 kB / 1.364 GB, free: 6.395 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-06/0.7448, allocations: 0 / 1.364 GB, free: 6.395 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.81e-05/0.7449, allocations: 4 kB / 1.364 GB, free: 6.391 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.7449, allocations: 7.984 kB / 1.364 GB, free: 6.383 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.7449, allocations: 11.88 kB / 1.364 GB, free: 6.371 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.7449, allocations: 93.77 kB / 1.364 GB, free: 6.281 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7449, allocations: 0 / 1.364 GB, free: 6.281 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001566/0.7451, allocations: 24 kB / 1.364 GB, free: 6.258 MB / 1.042 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.0001445/0.7452, allocations: 107.2 kB / 1.364 GB, free: 6.141 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.7457, allocations: 161.5 kB / 1.364 GB, free: 5.977 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7457, allocations: 0 / 1.364 GB, free: 5.977 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.7462, allocations: 115.8 kB / 1.364 GB, free: 5.863 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.7464, allocations: 4 kB / 1.364 GB, free: 5.859 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.7467, allocations: 171.7 kB / 1.364 GB, free: 5.66 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.7468, allocations: 67.25 kB / 1.364 GB, free: 5.574 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.7468, allocations: 7.438 kB / 1.364 GB, free: 5.566 MB / 1.042 GB Notification: Performance of SimCode: time 9.72e-07/0.7468, allocations: 0 / 1.364 GB, free: 5.566 MB / 1.042 GB Notification: Performance of Templates: time 0.002092/0.7489, allocations: 1.163 MB / 1.365 GB, free: 4.41 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.845052602700889]