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.0016/0.0016, allocations: 110 kB / 18.93 MB, free: 2.945 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.002252/0.002252, allocations: 191.2 kB / 22.23 MB, free: 5.16 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.451/1.451, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.00206/0.00206, allocations: 71.89 kB / 1.061 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8674, allocations: 160.8 MB / 1.218 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002679/0.87, allocations: 1.298 MB / 1.22 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8712, allocations: 0.6035 MB / 1.22 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.8712, allocations: 3.938 kB / 1.22 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.8713, allocations: 3.938 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.8713, allocations: 5.031 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.8718, allocations: 144.1 kB / 1.22 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.8719, allocations: 21.7 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.8719, allocations: 1.375 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.8719, allocations: 13.38 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.872, allocations: 7.391 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.872, allocations: 1.062 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006913/0.8727, allocations: 341.5 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.8727, allocations: 13.2 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.8728, allocations: 3.469 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.8731, allocations: 154.7 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8731, allocations: 5.312 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8731, allocations: 0 / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8731, allocations: 0 / 1.221 GB, free: 1.75 MB / 0.92 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.0004863/0.8736, allocations: 362.8 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.8736, allocations: 9.469 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.8736, allocations: 2.062 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.8738, allocations: 161.3 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.8739, allocations: 5.469 kB / 1.222 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.8739, allocations: 6.344 kB / 1.222 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.874, allocations: 45.44 kB / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.874, allocations: 192 / 1.222 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.8741, allocations: 4.969 kB / 1.222 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.8741, allocations: 0 / 1.222 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.8741, allocations: 21.27 kB / 1.222 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.8745, allocations: 248.8 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.8748, allocations: 53.53 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.8748, allocations: 14.98 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.8748, allocations: 5.328 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.8748, allocations: 31.75 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8748, allocations: 0 / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002054/0.8751, allocations: 59.03 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.8751, allocations: 52.62 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.8752, allocations: 97.61 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.8752, allocations: 27.2 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.8753, allocations: 88.03 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.8753, allocations: 13.34 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.8753, allocations: 18.31 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8755, allocations: 312.5 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.8755, allocations: 15.23 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.8755, allocations: 15.75 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.8756, allocations: 41.12 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8756, allocations: 5.062 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.8757, allocations: 59.86 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8757, allocations: 8.312 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.8757, allocations: 1.094 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8757, allocations: 5.047 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.8758, allocations: 11.03 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.8758, allocations: 1.312 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.8758, allocations: 5 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.8758, allocations: 1.875 kB / 1.223 GB, free: 15.91 MB / 0.9356 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.209e-05/0.8759, allocations: 114.4 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.8759, allocations: 2.156 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.8761, allocations: 68.17 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.8761, allocations: 0.875 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8761, allocations: 3.938 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8761, allocations: 1.094 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.8764, allocations: 174.3 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8764, allocations: 1.062 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.8764, allocations: 5.062 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8764, allocations: 1.094 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.8764, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8764, allocations: 1.062 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8764, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.8766, allocations: 147.4 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.8766, allocations: 86.28 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.8766, allocations: 1.125 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.8767, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.8767, allocations: 5.969 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.8767, allocations: 1.031 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.8768, allocations: 81.5 kB / 1.223 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8768, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002607/0.877, allocations: 21.73 kB / 1.223 GB, free: 15.18 MB / 0.9356 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.0001899/0.8772, allocations: 126.6 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.8774, allocations: 26.39 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.8774, allocations: 0 / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.8774, allocations: 15.06 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.8776, allocations: 8.344 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.8779, allocations: 112.8 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.8782, allocations: 0.6771 MB / 1.224 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.8783, allocations: 11.09 kB / 1.224 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.8783, allocations: 9.781 kB / 1.224 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of SimCode: time 6.32e-07/0.8783, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.003634/0.8819, allocations: 0.5373 MB / 1.225 GB, free: 13.94 MB / 0.9356 GB " [Timeout remaining time 299] 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.816926660947502]