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.001539/0.001539, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001806/0.001806, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.524/1.524, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.835/2.835, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] 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.633e-06/1.633e-06, allocations: 0 / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.569e-05, allocations: 3.297 kB / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00285/0.002886, allocations: 1.277 MB / 0.8121 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.004003, allocations: 0.522 MB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.004027, allocations: 0 / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.004049, allocations: 7.875 kB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.659e-05/0.004096, allocations: 0 / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.004655, allocations: 137.4 kB / 0.8127 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.004712, allocations: 15.92 kB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.004751, allocations: 7.938 kB / 0.8127 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.004794, allocations: 12.61 kB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.004841, allocations: 0.9062 kB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.004854, allocations: 0 / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.00534, allocations: 271.4 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.005352, allocations: 0.6562 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.005384, allocations: 0 / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.005696, allocations: 152.3 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.005702, allocations: 3.984 kB / 0.8131 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.005703, allocations: 0.875 kB / 0.8131 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.005708, allocations: 0 / 0.8131 GB, free: 14.56 MB / 0.7292 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.0005461/0.006254, allocations: 279.2 kB / 0.8134 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.006303, allocations: 12.03 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.006363, allocations: 0.9375 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.006516, allocations: 107.5 kB / 0.8135 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.006536, allocations: 4.375 kB / 0.8135 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.006546, allocations: 384 / 0.8135 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.006694, allocations: 34.25 kB / 0.8136 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.006705, allocations: 1.375 kB / 0.8136 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.006717, allocations: 384 / 0.8136 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.006722, allocations: 384 / 0.8136 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.006763, allocations: 11.94 kB / 0.8136 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.006967, allocations: 99.17 kB / 0.8137 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.00705, allocations: 26.52 kB / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.007079, allocations: 8.844 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.007113, allocations: 4.062 kB / 0.8137 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.007157, allocations: 32.09 kB / 0.8137 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.007158, allocations: 0 / 0.8137 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.007394, allocations: 45.66 kB / 0.8138 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.007453, allocations: 52.31 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.007582, allocations: 102.4 kB / 0.8139 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.00761, allocations: 29.7 kB / 0.814 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.007672, allocations: 82.02 kB / 0.814 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.00771, allocations: 4 kB / 0.814 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.007746, allocations: 13.72 kB / 0.8141 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.007963, allocations: 314.8 kB / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.007976, allocations: 0 / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.007991, allocations: 8.625 kB / 0.8144 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.008034, allocations: 13.56 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.008036, allocations: 0 / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.798e-05/0.008114, allocations: 46.88 kB / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.00813, allocations: 4 kB / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.008137, allocations: 0 / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.008159, allocations: 4.469 kB / 0.8144 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.008355, allocations: 13.17 kB / 0.8144 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005267/0.008882, allocations: 0.5821 MB / 0.815 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.008901, allocations: 5.031 kB / 0.815 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.008907, allocations: 0 / 0.815 GB, free: 12.46 MB / 0.7292 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 0.000101/0.009008, allocations: 106.9 kB / 0.8151 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.009022, allocations: 7.938 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.009161, allocations: 53.75 kB / 0.8152 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.009163, allocations: 0.9375 kB / 0.8152 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.009168, allocations: 0 / 0.8152 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.00917, allocations: 0 / 0.8152 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.009287, allocations: 106.7 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009288, allocations: 0 / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.00936, allocations: 8 kB / 0.8153 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009362, allocations: 0 / 0.8153 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009373, allocations: 4.812 kB / 0.8153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004425/0.009815, allocations: 0.5919 MB / 0.8159 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.009818, allocations: 3.984 kB / 0.8159 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.742e-05/0.009916, allocations: 69 kB / 0.8159 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.009925, allocations: 4 kB / 0.8159 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.009939, allocations: 4.609 kB / 0.8159 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.009953, allocations: 0 / 0.8159 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.009967, allocations: 3.438 kB / 0.816 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.009973, allocations: 4 kB / 0.816 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.01003, allocations: 79.28 kB / 0.816 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01003, allocations: 0 / 0.816 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002062/0.01024, allocations: 11.94 kB / 0.816 GB, free: 11.34 MB / 0.7292 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.0002201/0.01046, allocations: 115.1 kB / 0.8162 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.01063, allocations: 20.42 kB / 0.8162 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01063, allocations: 0.5625 kB / 0.8162 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.01072, allocations: 17.39 kB / 0.8162 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.01088, allocations: 7.938 kB / 0.8162 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.0113, allocations: 97.36 kB / 0.8163 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.571e-05/0.01136, allocations: 60.45 kB / 0.8163 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.01138, allocations: 3.906 kB / 0.8164 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.01141, allocations: 13.16 kB / 0.8164 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.01141, allocations: 1.625 kB / 0.8164 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.003041/0.01445, allocations: 478.9 kB / 0.8168 GB, free: 10.51 MB / 0.7292 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: 7.679680609959178]