Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.002001/0.002001, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002817/0.002817, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.319/3.319, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFloOpPoi.m_flow|senMasFloKv.m_flow|senMasFloCv.m_flow|senMasFloAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFloOpPoi.m_flow|senMasFloKv.m_flow|senMasFloCv.m_flow|senMasFloAv.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.377e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.204/0.204, allocations: 140.9 MB / 1.015 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.06616/0.2702, allocations: 28.09 MB / 1.043 GB, free: 12.93 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009808/0.28, allocations: 202.2 kB / 1.043 GB, free: 12.73 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00535/0.2853, allocations: 1.051 MB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.3011, allocations: 3.395 MB / 1.047 GB, free: 8.258 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.009754/0.3108, allocations: 2.603 MB / 1.05 GB, free: 5.648 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01296/0.3238, allocations: 5.257 MB / 1.055 GB, free: 380 kB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7787/1.103, allocations: 1.845 MB / 1.057 GB, free: 82.81 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008952/1.111, allocations: 3.604 MB / 1.06 GB, free: 82.81 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/1.115, allocations: 1.69 MB / 1.062 GB, free: 82.81 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004886/1.116, allocations: 218.1 kB / 1.062 GB, free: 82.81 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/1.119, allocations: 0.9578 MB / 1.063 GB, free: 82.81 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.00056/1.119, allocations: 0.5858 MB / 1.064 GB, free: 82.81 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/1.12, allocations: 0.8575 MB / 1.064 GB, free: 82.81 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004902/1.125, allocations: 3.397 MB / 1.068 GB, free: 82.81 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.125, allocations: 0 / 1.068 GB, free: 82.81 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.933e-06/1.125, allocations: 0 / 1.068 GB, free: 82.81 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.966e-05/1.125, allocations: 0 / 1.068 GB, free: 82.81 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005144/1.13, allocations: 2.639 MB / 1.07 GB, free: 81.62 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.131, allocations: 9.062 kB / 1.07 GB, free: 81.62 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/1.131, allocations: 367.2 kB / 1.071 GB, free: 81.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/1.134, allocations: 1.542 MB / 1.072 GB, free: 81.01 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.136e-05/1.134, allocations: 108 kB / 1.072 GB, free: 81 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/1.134, allocations: 138.7 kB / 1.072 GB, free: 81 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/1.136, allocations: 1.183 MB / 1.074 GB, free: 80.92 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.136, allocations: 3.062 kB / 1.074 GB, free: 80.92 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/1.136, allocations: 49.47 kB / 1.074 GB, free: 80.92 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/1.136, allocations: 33.59 kB / 1.074 GB, free: 80.92 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/1.138, allocations: 1.038 MB / 1.075 GB, free: 80.91 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00913/1.147, allocations: 4.129 MB / 1.079 GB, free: 80.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009246/1.148, allocations: 0.544 MB / 1.079 GB, free: 80.24 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/1.149, allocations: 366.8 kB / 1.08 GB, free: 80.23 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/1.149, allocations: 65.44 kB / 1.08 GB, free: 80.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.149, allocations: 40.34 kB / 1.08 GB, free: 80.19 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001789/1.151, allocations: 287.8 kB / 1.08 GB, free: 80.16 MB / 1.01 GB Notification: Performance of pre-optimization done (n=58): time 4.669e-06/1.151, allocations: 2.406 kB / 1.08 GB, free: 80.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=58): time 0.002264/1.153, allocations: 1.164 MB / 1.081 GB, free: 80.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/1.153, allocations: 60.48 kB / 1.081 GB, free: 79.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/1.155, allocations: 1.644 MB / 1.083 GB, free: 79.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.596e-05/1.156, allocations: 48.95 kB / 1.083 GB, free: 79.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007257/1.156, allocations: 0.9288 MB / 1.084 GB, free: 79.36 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/1.156, allocations: 212.1 kB / 1.084 GB, free: 79.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004762/1.157, allocations: 283.3 kB / 1.084 GB, free: 79.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.157, allocations: 353.6 kB / 1.085 GB, free: 78.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/1.158, allocations: 454.8 kB / 1.085 GB, free: 78.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/1.159, allocations: 1.139 MB / 1.086 GB, free: 78.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/1.161, allocations: 0.971 MB / 1.087 GB, free: 77.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.161, allocations: 1 kB / 1.087 GB, free: 77.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003503/1.164, allocations: 1.441 MB / 1.088 GB, free: 77.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/1.164, allocations: 6.906 kB / 1.088 GB, free: 77.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.164, allocations: 6.812 kB / 1.088 GB, free: 77.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.708e-05/1.165, allocations: 7.906 kB / 1.088 GB, free: 77.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.166, allocations: 279.5 kB / 1.089 GB, free: 77.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/1.166, allocations: 13.52 kB / 1.089 GB, free: 77.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.168, allocations: 74.34 kB / 1.089 GB, free: 77.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/1.168, allocations: 67.09 kB / 1.089 GB, free: 77.83 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/1.169, allocations: 0.7037 MB / 1.09 GB, free: 77.75 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001243/1.17, allocations: 1.114 MB / 1.091 GB, free: 76.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001897/1.172, allocations: 0.9196 MB / 1.092 GB, free: 76.85 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/1.172, allocations: 1.688 kB / 1.092 GB, free: 76.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002924/1.175, allocations: 1.385 MB / 1.093 GB, free: 76.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.175, allocations: 10.88 kB / 1.093 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.175, allocations: 3.25 kB / 1.093 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.175, allocations: 12.5 kB / 1.093 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.177, allocations: 269.1 kB / 1.093 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/1.177, allocations: 15.2 kB / 1.093 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.178, allocations: 89.55 kB / 1.093 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.178, allocations: 59.73 kB / 1.093 GB, free: 76.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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 0.0003892/1.179, allocations: 235 kB / 1.094 GB, free: 76.51 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/1.179, allocations: 202.8 kB / 1.094 GB, free: 76.41 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/1.182, allocations: 1.087 MB / 1.095 GB, free: 76.33 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/1.182, allocations: 8.25 kB / 1.095 GB, free: 76.33 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.182, allocations: 3 kB / 1.095 GB, free: 76.33 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.182, allocations: 3.953 kB / 1.095 GB, free: 76.33 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005027/1.187, allocations: 2.117 MB / 1.097 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.187, allocations: 2.281 kB / 1.097 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/1.187, allocations: 134.7 kB / 1.097 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/1.187, allocations: 4 kB / 1.097 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/1.188, allocations: 16.75 kB / 1.097 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/1.188, allocations: 8.188 kB / 1.097 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.188, allocations: 4.609 kB / 1.097 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.19, allocations: 1.079 MB / 1.098 GB, free: 75.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007508/1.19, allocations: 257.6 kB / 1.098 GB, free: 75.61 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/1.191, allocations: 20.28 kB / 1.098 GB, free: 75.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007996/1.191, allocations: 35.08 kB / 1.098 GB, free: 75.61 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/1.191, allocations: 51.84 kB / 1.098 GB, free: 75.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/1.192, allocations: 34.75 kB / 1.098 GB, free: 75.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002159/1.194, allocations: 1.07 MB / 1.1 GB, free: 75.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.194, allocations: 0 / 1.1 GB, free: 75.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003531/1.197, allocations: 0.9399 MB / 1.1 GB, free: 75.29 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009459/1.198, allocations: 337.5 kB / 1.101 GB, free: 75.17 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004098/1.202, allocations: 1.502 MB / 1.102 GB, free: 75.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.202, allocations: 0 / 1.102 GB, free: 75.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009311/1.203, allocations: 376.3 kB / 1.103 GB, free: 75.15 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005537/1.209, allocations: 0.9174 MB / 1.103 GB, free: 75.04 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/1.218, allocations: 3.003 MB / 1.106 GB, free: 73.66 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/1.219, allocations: 0.8216 MB / 1.107 GB, free: 73.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003316/1.223, allocations: 369.1 kB / 1.108 GB, free: 73.39 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/1.223, allocations: 160.6 kB / 1.108 GB, free: 73.38 MB / 1.01 GB Notification: Performance of SimCode: time 2.955e-06/1.223, allocations: 0 / 1.108 GB, free: 73.38 MB / 1.01 GB Notification: Performance of Templates: time 0.07569/1.299, allocations: 35.71 MB / 1.143 GB, free: 68.94 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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: 11.458361421944574]