Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.001531/0.001531, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001719/0.001719, allocations: 163.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.642/1.642, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.892/2.892, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9814 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.265e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003068/0.003101, allocations: 1.275 MB / 0.9827 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004459, allocations: 0.5136 MB / 0.9832 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.004489, allocations: 4 kB / 0.9832 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.004508, allocations: 3.938 kB / 0.9832 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.004562, allocations: 3.938 kB / 0.9832 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.005282, allocations: 142.8 kB / 0.9833 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.005345, allocations: 15.92 kB / 0.9833 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.005387, allocations: 0 / 0.9833 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.005446, allocations: 7.984 kB / 0.9833 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.0055, allocations: 7.938 kB / 0.9834 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.005517, allocations: 4 kB / 0.9834 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.006006, allocations: 263.5 kB / 0.9836 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.006028, allocations: 3.938 kB / 0.9836 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.006055, allocations: 4 kB / 0.9836 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.00636, allocations: 147.5 kB / 0.9838 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.006368, allocations: 4 kB / 0.9838 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006369, allocations: 0 / 0.9838 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.006373, allocations: 0 / 0.9838 GB, free: 8.512 MB / 0.8887 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.0004608/0.006834, allocations: 285.9 kB / 0.984 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.006877, allocations: 8.031 kB / 0.984 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.006912, allocations: 0.9375 kB / 0.984 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.007026, allocations: 109.8 kB / 0.9841 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.007037, allocations: 384 / 0.9841 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.007048, allocations: 4.359 kB / 0.9841 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.007166, allocations: 30.27 kB / 0.9842 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.007173, allocations: 192 / 0.9842 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.007181, allocations: 384 / 0.9842 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007188, allocations: 4.375 kB / 0.9842 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.007225, allocations: 15.88 kB / 0.9842 GB, free: 8 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.007376, allocations: 97.33 kB / 0.9843 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.007442, allocations: 30.59 kB / 0.9843 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.007468, allocations: 8.922 kB / 0.9843 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.007492, allocations: 0 / 0.9843 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.007527, allocations: 30.56 kB / 0.9844 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.007528, allocations: 0 / 0.9844 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.007695, allocations: 49.62 kB / 0.9844 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.007743, allocations: 51.41 kB / 0.9845 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.007847, allocations: 97.8 kB / 0.9845 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.007869, allocations: 25.7 kB / 0.9846 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.007917, allocations: 84.39 kB / 0.9847 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.007949, allocations: 7.953 kB / 0.9847 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.00798, allocations: 13.72 kB / 0.9847 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002241/0.008204, allocations: 314.8 kB / 0.985 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.008219, allocations: 4 kB / 0.985 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.008229, allocations: 7.938 kB / 0.985 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.008303, allocations: 12.86 kB / 0.985 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008305, allocations: 0 / 0.985 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.868e-05/0.008374, allocations: 41.64 kB / 0.985 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.008395, allocations: 9.906 kB / 0.985 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.008404, allocations: 7.984 kB / 0.9851 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.008424, allocations: 3.984 kB / 0.9851 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.008595, allocations: 8 kB / 0.9851 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005626/0.009158, allocations: 0.5898 MB / 0.9856 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.009177, allocations: 0 / 0.9856 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.009183, allocations: 0 / 0.9856 GB, free: 6.387 MB / 0.8887 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 9.848e-05/0.009281, allocations: 113.8 kB / 0.9857 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.009291, allocations: 7.969 kB / 0.9858 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.009403, allocations: 45.11 kB / 0.9858 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.009407, allocations: 3.984 kB / 0.9858 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.009411, allocations: 0 / 0.9858 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.009414, allocations: 0 / 0.9858 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.009518, allocations: 101.3 kB / 0.9859 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009519, allocations: 0 / 0.9859 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.009604, allocations: 11.98 kB / 0.9859 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.009606, allocations: 0 / 0.9859 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.009617, allocations: 3.938 kB / 0.9859 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004205/0.01004, allocations: 0.5899 MB / 0.9865 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01004, allocations: 0 / 0.9865 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.01015, allocations: 69.02 kB / 0.9866 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-06/0.01015, allocations: 4 kB / 0.9866 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.01017, allocations: 0 / 0.9866 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.01018, allocations: 0 / 0.9866 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.0102, allocations: 4 kB / 0.9866 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.0102, allocations: 0 / 0.9866 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.01025, allocations: 79.28 kB / 0.9866 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7e-08/0.01025, allocations: 224 / 0.9866 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002132/0.01046, allocations: 19.94 kB / 0.9867 GB, free: 5.258 MB / 0.8887 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.0002103/0.01067, allocations: 115.1 kB / 0.9868 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.01084, allocations: 19.98 kB / 0.9868 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01084, allocations: 0 / 0.9868 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.01093, allocations: 11.98 kB / 0.9868 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.01109, allocations: 15.88 kB / 0.9868 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.01148, allocations: 100.9 kB / 0.9869 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.01154, allocations: 63.28 kB / 0.987 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.01156, allocations: 0 / 0.987 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.01159, allocations: 12.5 kB / 0.987 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/0.01159, allocations: 0 / 0.987 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of Templates: time 0.003295/0.01488, allocations: 475.2 kB / 0.9874 GB, free: 4.414 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.282492447644472]