Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,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") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 79.8 kB / 1.103 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8689/0.8708, allocations: 163.8 MB / 1.263 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002132/0.873, allocations: 1.266 MB / 1.264 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008927/0.8739, allocations: 0.5735 MB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.8739, allocations: 4.75 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.874, allocations: 0.7969 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.874, allocations: 4.719 kB / 1.264 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.8745, allocations: 137.8 kB / 1.265 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.8745, allocations: 10.38 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.8746, allocations: 2.594 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.8746, allocations: 2.781 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.8746, allocations: 6.922 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.8746, allocations: 4.812 kB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.8752, allocations: 340.6 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.8752, allocations: 0.8438 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.8752, allocations: 14.81 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.8755, allocations: 131.4 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8755, allocations: 1.375 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8755, allocations: 0 / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.8755, allocations: 0.8438 kB / 1.265 GB, free: 6.531 MB / 0.9981 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.0003032/0.8758, allocations: 356.6 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.8759, allocations: 9.219 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.8759, allocations: 9.656 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.876, allocations: 162.5 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.876, allocations: 0.9688 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.876, allocations: 1.125 kB / 1.266 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.8761, allocations: 39.95 kB / 1.266 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.8762, allocations: 192 / 1.266 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.8762, allocations: 4.469 kB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8762, allocations: 0 / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.8762, allocations: 4.219 kB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.8763, allocations: 162.2 kB / 1.266 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.8764, allocations: 21.38 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.8764, allocations: 11.72 kB / 1.266 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.8764, allocations: 4.719 kB / 1.266 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.8764, allocations: 32.48 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8764, allocations: 0 / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.8766, allocations: 44.67 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.8766, allocations: 52.78 kB / 1.266 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.368e-05/0.8766, allocations: 98.48 kB / 1.266 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.8767, allocations: 25.7 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.174e-05/0.8767, allocations: 80.98 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.8767, allocations: 5.641 kB / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.8767, allocations: 16.69 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.8768, allocations: 316.8 kB / 1.266 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.8768, allocations: 3.328 kB / 1.266 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-06/0.8768, allocations: 5.594 kB / 1.266 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.8768, allocations: 14.81 kB / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.8768, allocations: 0 / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.331e-05/0.8769, allocations: 35.86 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.8769, allocations: 5.312 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.8769, allocations: 5.297 kB / 1.266 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8769, allocations: 8.031 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.8771, allocations: 10.31 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002276/0.8773, allocations: 0.5872 MB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.8773, allocations: 9.328 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.8774, allocations: 0.6562 kB / 1.267 GB, free: 4.305 MB / 0.9981 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 4.615e-05/0.8774, allocations: 112 kB / 1.267 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.8774, allocations: 5.453 kB / 1.267 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.402e-05/0.8775, allocations: 43.81 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8775, allocations: 0.7188 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.8775, allocations: 1.297 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.8776, allocations: 3.938 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.776e-05/0.8776, allocations: 159.4 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8776, allocations: 1 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.8777, allocations: 10.14 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8777, allocations: 0 / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.8777, allocations: 5.391 kB / 1.267 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001686/0.8779, allocations: 0.5803 MB / 1.268 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8779, allocations: 7.938 kB / 1.268 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.493e-05/0.878, allocations: 66.5 kB / 1.268 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.878, allocations: 85.22 kB / 1.268 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.878, allocations: 0.7969 kB / 1.268 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.878, allocations: 4.781 kB / 1.268 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.878, allocations: 5.859 kB / 1.268 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.878, allocations: 1.094 kB / 1.268 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.8781, allocations: 77.08 kB / 1.268 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8781, allocations: 1.094 kB / 1.268 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00019/0.8783, allocations: 7.109 kB / 1.268 GB, free: 3.094 MB / 0.9981 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.0001542/0.8784, allocations: 118.1 kB / 1.268 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.8786, allocations: 18.09 kB / 1.268 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8786, allocations: 0 / 1.268 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.8787, allocations: 17.14 kB / 1.268 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.8788, allocations: 5.688 kB / 1.268 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.8791, allocations: 139.4 kB / 1.268 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.533e-05/0.8792, allocations: 0.674 MB / 1.269 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.8792, allocations: 8.219 kB / 1.269 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.8792, allocations: 0 / 1.269 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of Templates: time 0.002689/0.8819, allocations: 0.7005 MB / 1.27 GB, free: 2.098 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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: 10.785169003065675]