Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001664/0.001664, allocations: 79.44 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.001982/0.001982, 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.764/2.764, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.173e-05/4.339e-05, allocations: 4.391 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002757/0.002801, allocations: 1.302 MB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003881, allocations: 0.5298 MB / 0.9528 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.003914, allocations: 0 / 0.9528 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.00394, allocations: 7.922 kB / 0.9528 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.003997, allocations: 3.984 kB / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.00464, allocations: 147.3 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.004706, allocations: 23.8 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.004757, allocations: 4 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.004796, allocations: 11.98 kB / 0.953 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.004845, allocations: 7.984 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.00486, allocations: 7.938 kB / 0.953 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.005355, allocations: 271.4 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.00537, allocations: 0 / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.005392, allocations: 4 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.005714, allocations: 155.5 kB / 0.9534 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005717, allocations: 0 / 0.9534 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005717, allocations: 0 / 0.9534 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.005721, allocations: 4 kB / 0.9534 GB, free: 9.098 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000582/0.006303, allocations: 293.8 kB / 0.9537 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.006349, allocations: 8.031 kB / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.006383, allocations: 4.938 kB / 0.9537 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.006507, allocations: 109.8 kB / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.006515, allocations: 384 / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.00653, allocations: 4.375 kB / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.006649, allocations: 38.25 kB / 0.9538 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006659, allocations: 192 / 0.9538 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.00667, allocations: 4.375 kB / 0.9538 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.006674, allocations: 384 / 0.9538 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.006729, allocations: 23.86 kB / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.007094, allocations: 200.5 kB / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.007313, allocations: 50.69 kB / 0.9541 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.00735, allocations: 16.84 kB / 0.9541 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.00737, allocations: 4 kB / 0.9541 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.007398, allocations: 30.56 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.0074, allocations: 0 / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002103/0.00761, allocations: 65.56 kB / 0.9542 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.007659, allocations: 51.41 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.00776, allocations: 97.84 kB / 0.9543 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.00778, allocations: 25.7 kB / 0.9544 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.007839, allocations: 84.14 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.007863, allocations: 19.84 kB / 0.9545 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.0079, allocations: 17.72 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.008044, allocations: 314.8 kB / 0.9548 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.008066, allocations: 8 kB / 0.9548 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.0081, allocations: 21.72 kB / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.008165, allocations: 38.02 kB / 0.9548 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008166, allocations: 0 / 0.9548 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001148/0.008281, allocations: 65.56 kB / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.008298, allocations: 8 kB / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.008309, allocations: 7.969 kB / 0.9549 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.008328, allocations: 0 / 0.9549 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.008377, allocations: 11.94 kB / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008381, allocations: 0 / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.008404, allocations: 3.938 kB / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.008412, allocations: 4 kB / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.00849, allocations: 105.8 kB / 0.955 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.008518, allocations: 7.984 kB / 0.9551 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.008674, allocations: 65.25 kB / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008676, allocations: 8 kB / 0.9551 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.00868, allocations: 0 / 0.9551 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.008682, allocations: 0 / 0.9551 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.00882, allocations: 105.3 kB / 0.9552 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008821, allocations: 0 / 0.9552 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.008857, allocations: 8 kB / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008859, allocations: 0 / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.008866, allocations: 0 / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.00887, allocations: 3.938 kB / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008871, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.009013, allocations: 143.5 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.00902, allocations: 12 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.009031, allocations: 0 / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.009085, allocations: 7.922 kB / 0.9554 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.009105, allocations: 7.938 kB / 0.9554 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.009108, allocations: 0 / 0.9554 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.009151, allocations: 79.28 kB / 0.9555 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009151, allocations: 0 / 0.9555 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002635/0.009415, allocations: 23.88 kB / 0.9555 GB, free: 6.68 MB / 0.8575 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/0.009628, allocations: 123.1 kB / 0.9556 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.009731, allocations: 20 kB / 0.9556 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009732, allocations: 0 / 0.9556 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.009757, allocations: 15.92 kB / 0.9556 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.009977, allocations: 11.94 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.0103, allocations: 116.9 kB / 0.9558 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.01036, allocations: 59.34 kB / 0.9558 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.0104, allocations: 12.05 kB / 0.9558 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.01042, allocations: 16.44 kB / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.01042, allocations: 0 / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of Templates: time 0.003332/0.01376, allocations: 0.5036 MB / 0.9563 GB, free: 5.758 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.735003657639027]