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.00215/0.00215, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00258/0.00258, allocations: 215.5 kB / 22.24 MB, free: 5.242 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.316/3.316, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 70.08 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.417, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002845/0.4198, allocations: 1.28 MB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.4209, allocations: 0.5181 MB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.421, allocations: 0 / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.421, allocations: 0 / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.421, allocations: 0 / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.4217, allocations: 139.4 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.4218, allocations: 19.92 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.4218, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.955e-05/0.4218, allocations: 4 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.4219, allocations: 3.938 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.4219, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.4224, allocations: 275.5 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.4224, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.4224, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.4227, allocations: 135.5 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4227, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4227, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4227, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 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.0004573/0.4232, allocations: 270 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4232, allocations: 12.03 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.4233, allocations: 4.891 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.4234, allocations: 110.5 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4234, allocations: 4.375 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.4234, allocations: 4.375 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.4235, allocations: 34.25 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4235, allocations: 8.062 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4236, allocations: 3.938 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4236, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.4236, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.4238, allocations: 101.4 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.636e-05/0.4238, allocations: 22.56 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.4238, allocations: 8.859 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.4239, allocations: 4.062 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.4239, allocations: 30.56 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4239, allocations: 0 / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.4241, allocations: 49.52 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.4241, allocations: 63.52 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.4242, allocations: 89.86 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4242, allocations: 25.7 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.4243, allocations: 88.12 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.4243, allocations: 3.953 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.4243, allocations: 17.72 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4245, allocations: 314.8 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.4245, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.4245, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.4246, allocations: 20.98 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4246, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.885e-05/0.4246, allocations: 33.7 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4247, allocations: 9.719 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4247, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4247, allocations: 3.938 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4248, allocations: 11.98 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000458/0.4253, allocations: 0.586 MB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.4253, allocations: 3.953 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4253, allocations: 8.156 kB / 1.33 GB, free: 13.32 MB / 1.029 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.0001008/0.4254, allocations: 114.3 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.4254, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.4256, allocations: 41.02 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4256, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4256, allocations: 3.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4256, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.4257, allocations: 101.3 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.4257, allocations: 3.938 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.4258, allocations: 16.02 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4258, allocations: 3.984 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.4258, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003939/0.4262, allocations: 0.5821 MB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4262, allocations: 3.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.591e-05/0.4263, allocations: 69.09 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.4263, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.4263, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.4263, allocations: 3.938 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.4263, allocations: 12.06 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.4263, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.4264, allocations: 75.28 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4264, allocations: 4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00021/0.4266, allocations: 15.88 kB / 1.331 GB, free: 12.18 MB / 1.029 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.0001853/0.4268, allocations: 111.2 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.4269, allocations: 15.98 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4269, allocations: 160 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.427, allocations: 19.98 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.4272, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.4275, allocations: 98.09 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.4276, allocations: 55.36 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.4276, allocations: 7.984 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.4276, allocations: 7.438 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4276, allocations: 4.062 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Templates: time 0.003035/0.4307, allocations: 458.2 kB / 1.331 GB, free: 11.37 MB / 1.029 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: 9.402947261929512]