Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001979/0.001979, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002772/0.002772, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.473/1.473, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 443.4 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3382, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002598/0.3408, allocations: 1.302 MB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3419, allocations: 0.6041 MB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.3419, allocations: 4 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.342, allocations: 0 / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.342, allocations: 7.922 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.3425, allocations: 147.3 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.3426, allocations: 19.92 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.3426, allocations: 0 / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.3427, allocations: 8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.3427, allocations: 11.92 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3427, allocations: 3.984 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.3432, allocations: 347.3 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.3432, allocations: 0 / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.3433, allocations: 11.94 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.3435, allocations: 155.5 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3435, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3435, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3435, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.9669 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.0005201/0.3441, allocations: 363 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3441, allocations: 8.031 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.3441, allocations: 4.938 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3443, allocations: 168.4 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3443, allocations: 384 / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3443, allocations: 384 / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3445, allocations: 46.19 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3445, allocations: 192 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3445, allocations: 3.938 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3445, allocations: 4 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.3445, allocations: 12 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.3449, allocations: 264.9 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3452, allocations: 42.56 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.3452, allocations: 16.86 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3452, allocations: 3.938 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3452, allocations: 30.56 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3452, allocations: 8 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.3454, allocations: 53.69 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.3455, allocations: 51.41 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.3456, allocations: 105.8 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3456, allocations: 25.7 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3457, allocations: 88.09 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.3457, allocations: 7.891 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3458, allocations: 21.7 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3459, allocations: 314.8 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.346, allocations: 11.94 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.346, allocations: 25.7 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.352e-05/0.346, allocations: 26.09 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.346, allocations: 0 / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.3461, allocations: 69.5 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3462, allocations: 8 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3462, allocations: 4.031 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3462, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.3462, allocations: 8 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3462, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.3463, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3463, allocations: 7.984 kB / 1.22 GB, free: 10.73 MB / 0.9669 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 8.175e-05/0.3463, allocations: 113.8 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3464, allocations: 4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.3465, allocations: 61.12 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3465, allocations: 4 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3465, allocations: 128 / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3465, allocations: 0 / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3467, allocations: 169.5 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3467, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.3467, allocations: 11.98 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3468, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3468, allocations: 3.938 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3468, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3468, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.3469, allocations: 155.4 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.3469, allocations: 77.11 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3469, allocations: 4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.347, allocations: 4 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.347, allocations: 3.984 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.347, allocations: 0 / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.3471, allocations: 79.28 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 4 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002408/0.3473, allocations: 23.88 kB / 1.221 GB, free: 9.922 MB / 0.9669 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.0002075/0.3475, allocations: 117.4 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.3476, allocations: 27.92 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3476, allocations: 3.938 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.3476, allocations: 8 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.3478, allocations: 14.8 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.3482, allocations: 134.6 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3485, allocations: 0.6729 MB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.3485, allocations: 4.234 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.3485, allocations: 11.91 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3485, allocations: 3.938 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of Templates: time 0.002969/0.3515, allocations: 0.5236 MB / 1.223 GB, free: 8.352 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.304314652457833]