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.002005/0.002005, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002508/0.002508, allocations: 165 kB / 22.46 MB, free: 5.359 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.636/1.636, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.027/3.027, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.024e-06/2.024e-06, allocations: 0 / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.564e-05, allocations: 5.797 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 1.101/1.101, allocations: 140.9 MB / 1.138 GB, free: 79.72 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04558/1.147, allocations: 28.06 MB / 1.165 GB, free: 79.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009216/1.156, allocations: 195.7 kB / 1.165 GB, free: 79.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004411/1.16, allocations: 1.052 MB / 1.166 GB, free: 79.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/1.173, allocations: 3.383 MB / 1.17 GB, free: 78.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008035/1.181, allocations: 2.647 MB / 1.172 GB, free: 78.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009065/1.19, allocations: 5.254 MB / 1.177 GB, free: 76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/1.194, allocations: 1.742 MB / 1.179 GB, free: 75.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/1.205, allocations: 3.608 MB / 1.183 GB, free: 73.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006228/1.212, allocations: 1.69 MB / 1.184 GB, free: 73.51 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008908/1.213, allocations: 217.1 kB / 1.184 GB, free: 73.51 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004344/1.217, allocations: 0.9602 MB / 1.185 GB, free: 73.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008065/1.218, allocations: 0.5886 MB / 1.186 GB, free: 72.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002665/1.22, allocations: 0.8504 MB / 1.187 GB, free: 72.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008292/1.229, allocations: 3.374 MB / 1.19 GB, free: 71.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.229, allocations: 6.047 kB / 1.19 GB, free: 71.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/1.229, allocations: 0 / 1.19 GB, free: 71.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001237/1.229, allocations: 0 / 1.19 GB, free: 71.58 MB / 1.076 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.007123/1.236, allocations: 2.62 MB / 1.193 GB, free: 70.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/1.236, allocations: 14.02 kB / 1.193 GB, free: 70.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/1.237, allocations: 265.9 kB / 1.193 GB, free: 69.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/1.24, allocations: 1.412 MB / 1.194 GB, free: 69.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/1.24, allocations: 107.8 kB / 1.194 GB, free: 69.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/1.24, allocations: 137.7 kB / 1.195 GB, free: 69.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/1.243, allocations: 1.182 MB / 1.196 GB, free: 68.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.243, allocations: 0 / 1.196 GB, free: 68.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.243, allocations: 45.31 kB / 1.196 GB, free: 68.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/1.243, allocations: 33 kB / 1.196 GB, free: 68.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/1.245, allocations: 1.047 MB / 1.197 GB, free: 68.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/1.257, allocations: 4.084 MB / 1.201 GB, free: 66.26 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.258, allocations: 0.5385 MB / 1.201 GB, free: 66.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/1.258, allocations: 357.5 kB / 1.202 GB, free: 65.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/1.259, allocations: 55.02 kB / 1.202 GB, free: 65.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/1.259, allocations: 37.92 kB / 1.202 GB, free: 65.85 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002159/1.261, allocations: 283.8 kB / 1.202 GB, free: 65.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=58): time 3.797e-06/1.261, allocations: 0 / 1.202 GB, free: 65.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=58): time 0.002792/1.264, allocations: 1.147 MB / 1.203 GB, free: 65.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.264, allocations: 58.56 kB / 1.203 GB, free: 65.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.267, allocations: 1.631 MB / 1.205 GB, free: 64.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/1.267, allocations: 43.23 kB / 1.205 GB, free: 64.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009138/1.268, allocations: 0.924 MB / 1.206 GB, free: 63.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.268, allocations: 207.9 kB / 1.206 GB, free: 63.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006633/1.268, allocations: 291.9 kB / 1.206 GB, free: 63.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.269, allocations: 350.7 kB / 1.207 GB, free: 63.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.27, allocations: 452.1 kB / 1.207 GB, free: 63.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.271, allocations: 1.144 MB / 1.208 GB, free: 62.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/1.273, allocations: 0.9695 MB / 1.209 GB, free: 61.58 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.273, allocations: 2.594 kB / 1.209 GB, free: 61.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003357/1.276, allocations: 1.394 MB / 1.21 GB, free: 61.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.276, allocations: 6.312 kB / 1.21 GB, free: 61.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.276, allocations: 4.016 kB / 1.21 GB, free: 61.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/1.276, allocations: 9.906 kB / 1.21 GB, free: 61.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.278, allocations: 277.9 kB / 1.211 GB, free: 61.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/1.278, allocations: 10.12 kB / 1.211 GB, free: 61.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/1.28, allocations: 85.27 kB / 1.211 GB, free: 60.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.28, allocations: 58.78 kB / 1.211 GB, free: 60.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001712/1.282, allocations: 0.7054 MB / 1.211 GB, free: 60.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001216/1.283, allocations: 1.114 MB / 1.213 GB, free: 59.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001689/1.285, allocations: 0.9191 MB / 1.213 GB, free: 59.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.264e-06/1.285, allocations: 9 kB / 1.213 GB, free: 59.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00286/1.287, allocations: 1.337 MB / 1.215 GB, free: 58.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.287, allocations: 9.203 kB / 1.215 GB, free: 58.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.287, allocations: 3.906 kB / 1.215 GB, free: 58.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.287, allocations: 13.22 kB / 1.215 GB, free: 58.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.289, allocations: 269.1 kB / 1.215 GB, free: 58.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/1.289, allocations: 11.3 kB / 1.215 GB, free: 58.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.291, allocations: 93.19 kB / 1.215 GB, free: 58.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.291, allocations: 59.22 kB / 1.215 GB, free: 58.64 MB / 1.076 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.0005267/1.292, allocations: 243.8 kB / 1.215 GB, free: 58.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/1.292, allocations: 184.5 kB / 1.216 GB, free: 58.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/1.295, allocations: 1.071 MB / 1.217 GB, free: 57.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/1.295, allocations: 8.031 kB / 1.217 GB, free: 57.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.295, allocations: 1.406 kB / 1.217 GB, free: 57.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.295, allocations: 4.359 kB / 1.217 GB, free: 57.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/1.299, allocations: 2.117 MB / 1.219 GB, free: 56.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.299, allocations: 1.406 kB / 1.219 GB, free: 56.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/1.3, allocations: 137.2 kB / 1.219 GB, free: 56.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/1.3, allocations: 4.531 kB / 1.219 GB, free: 56.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/1.3, allocations: 17.16 kB / 1.219 GB, free: 56.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/1.3, allocations: 5.25 kB / 1.219 GB, free: 56.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.3, allocations: 6.312 kB / 1.219 GB, free: 56.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.302, allocations: 1.053 MB / 1.22 GB, free: 56.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/1.303, allocations: 255.3 kB / 1.22 GB, free: 56.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/1.303, allocations: 13.83 kB / 1.22 GB, free: 56.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/1.303, allocations: 38.31 kB / 1.22 GB, free: 56.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.304, allocations: 56.48 kB / 1.22 GB, free: 56.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/1.304, allocations: 25.05 kB / 1.22 GB, free: 56.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001836/1.306, allocations: 1.06 MB / 1.221 GB, free: 55.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.306, allocations: 4.906 kB / 1.221 GB, free: 55.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003342/1.309, allocations: 0.9317 MB / 1.222 GB, free: 55.52 MB / 1.076 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.001006/1.31, allocations: 334.3 kB / 1.223 GB, free: 55.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003703/1.314, allocations: 1.507 MB / 1.224 GB, free: 54.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.314, allocations: 1.5 kB / 1.224 GB, free: 54.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/1.314, allocations: 368.9 kB / 1.224 GB, free: 54.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/1.319, allocations: 0.8639 MB / 1.225 GB, free: 54.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/1.325, allocations: 2.947 MB / 1.228 GB, free: 53.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/1.326, allocations: 0.8095 MB / 1.229 GB, free: 52.88 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002362/1.328, allocations: 372.2 kB / 1.229 GB, free: 52.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/1.329, allocations: 152.3 kB / 1.229 GB, free: 52.75 MB / 1.076 GB Notification: Performance of SimCode: time 1.463e-06/1.329, allocations: 0 / 1.229 GB, free: 52.75 MB / 1.076 GB Notification: Performance of Templates: time 0.0616/1.39, allocations: 34.93 MB / 1.264 GB, free: 41.08 MB / 1.076 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.963453095406294]