Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002052/0.002052, allocations: 80.12 kB / 19.18 MB, free: 2.527 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.002532/0.002532, allocations: 166.5 kB / 22.46 MB, free: 5.355 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.592/1.592, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.028/3.028, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/4.09e-05, allocations: 5.656 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1704/0.1704, allocations: 140.9 MB / 1.119 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.9717/1.142, allocations: 28.08 MB / 1.146 GB, free: 79.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007905/1.15, allocations: 202.7 kB / 1.147 GB, free: 79.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004121/1.154, allocations: 1.039 MB / 1.148 GB, free: 79.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01243/1.167, allocations: 3.402 MB / 1.151 GB, free: 79.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008025/1.175, allocations: 2.654 MB / 1.154 GB, free: 79.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009533/1.184, allocations: 5.346 MB / 1.159 GB, free: 78.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/1.188, allocations: 1.814 MB / 1.161 GB, free: 78.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/1.199, allocations: 3.654 MB / 1.164 GB, free: 77.58 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005417/1.204, allocations: 1.7 MB / 1.166 GB, free: 77.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/1.205, allocations: 212.9 kB / 1.166 GB, free: 77.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004645/1.21, allocations: 0.9586 MB / 1.167 GB, free: 77.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006844/1.211, allocations: 0.5828 MB / 1.168 GB, free: 77.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002092/1.213, allocations: 0.8555 MB / 1.168 GB, free: 77.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006196/1.219, allocations: 3.379 MB / 1.172 GB, free: 76.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.219, allocations: 4.219 kB / 1.172 GB, free: 76.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.534e-06/1.219, allocations: 3.188 kB / 1.172 GB, free: 76.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001231/1.219, allocations: 0 / 1.172 GB, free: 76.77 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.007238/1.226, allocations: 2.63 MB / 1.174 GB, free: 75.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/1.226, allocations: 9.625 kB / 1.174 GB, free: 75.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/1.227, allocations: 267.3 kB / 1.174 GB, free: 75.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/1.232, allocations: 1.427 MB / 1.176 GB, free: 74.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/1.232, allocations: 104.1 kB / 1.176 GB, free: 74.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/1.232, allocations: 137.4 kB / 1.176 GB, free: 74.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/1.235, allocations: 1.178 MB / 1.177 GB, free: 74.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.235, allocations: 1.25 kB / 1.177 GB, free: 74.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.235, allocations: 46.69 kB / 1.177 GB, free: 74.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/1.235, allocations: 33.44 kB / 1.177 GB, free: 74.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/1.237, allocations: 1.045 MB / 1.178 GB, free: 74.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/1.249, allocations: 4.083 MB / 1.182 GB, free: 74.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/1.251, allocations: 0.5318 MB / 1.183 GB, free: 74.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/1.251, allocations: 355 kB / 1.183 GB, free: 74.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/1.252, allocations: 60.61 kB / 1.183 GB, free: 74.08 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.252, allocations: 44.25 kB / 1.183 GB, free: 74.04 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002425/1.254, allocations: 286 kB / 1.184 GB, free: 74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=58): time 4.689e-06/1.254, allocations: 1.125 kB / 1.184 GB, free: 74 MB / 1.076 GB Notification: Performance of matching and sorting (n=58): time 0.002838/1.257, allocations: 1.144 MB / 1.185 GB, free: 73.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/1.257, allocations: 62.48 kB / 1.185 GB, free: 73.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/1.26, allocations: 1.636 MB / 1.186 GB, free: 72.96 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.26, allocations: 44.16 kB / 1.186 GB, free: 72.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007453/1.26, allocations: 0.9295 MB / 1.187 GB, free: 72.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/1.261, allocations: 213.1 kB / 1.188 GB, free: 72.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005549/1.261, allocations: 287.1 kB / 1.188 GB, free: 71.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.261, allocations: 346.8 kB / 1.188 GB, free: 71.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009428/1.262, allocations: 460.8 kB / 1.189 GB, free: 71.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.264, allocations: 1.14 MB / 1.19 GB, free: 70.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.265, allocations: 0.968 MB / 1.191 GB, free: 69.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.265, allocations: 0.9375 kB / 1.191 GB, free: 69.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003254/1.269, allocations: 1.402 MB / 1.192 GB, free: 69.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.269, allocations: 6.75 kB / 1.192 GB, free: 69.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.269, allocations: 3.25 kB / 1.192 GB, free: 69.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/1.269, allocations: 7.875 kB / 1.192 GB, free: 69.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.27, allocations: 277.5 kB / 1.192 GB, free: 69.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/1.27, allocations: 11.66 kB / 1.192 GB, free: 69.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.272, allocations: 78.48 kB / 1.192 GB, free: 69.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.272, allocations: 58.84 kB / 1.192 GB, free: 69.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001549/1.274, allocations: 0.7066 MB / 1.193 GB, free: 69.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001171/1.275, allocations: 1.113 MB / 1.194 GB, free: 68.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001681/1.276, allocations: 0.9254 MB / 1.195 GB, free: 67.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.211e-06/1.276, allocations: 1.5 kB / 1.195 GB, free: 67.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.003158/1.28, allocations: 1.332 MB / 1.196 GB, free: 67.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.28, allocations: 11.41 kB / 1.196 GB, free: 67.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.28, allocations: 7.344 kB / 1.196 GB, free: 67.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.28, allocations: 8.438 kB / 1.196 GB, free: 67.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.281, allocations: 271.8 kB / 1.197 GB, free: 67.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/1.281, allocations: 8.766 kB / 1.197 GB, free: 67.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/1.283, allocations: 92.25 kB / 1.197 GB, free: 67.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/1.283, allocations: 55.38 kB / 1.197 GB, free: 67.02 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.0005447/1.284, allocations: 235.4 kB / 1.197 GB, free: 66.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/1.284, allocations: 188.5 kB / 1.197 GB, free: 66.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/1.287, allocations: 1.083 MB / 1.198 GB, free: 66.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/1.287, allocations: 16.16 kB / 1.198 GB, free: 66.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/1.287, allocations: 1.25 kB / 1.198 GB, free: 66.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.287, allocations: 3.844 kB / 1.198 GB, free: 66.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/1.292, allocations: 2.114 MB / 1.2 GB, free: 65.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.292, allocations: 5.312 kB / 1.2 GB, free: 65.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/1.293, allocations: 132.6 kB / 1.2 GB, free: 65.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/1.293, allocations: 4.734 kB / 1.2 GB, free: 65.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/1.293, allocations: 21.8 kB / 1.201 GB, free: 65.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.293, allocations: 4.922 kB / 1.201 GB, free: 65.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.293, allocations: 5.312 kB / 1.201 GB, free: 65.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/1.295, allocations: 1.051 MB / 1.202 GB, free: 64.72 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008339/1.296, allocations: 252.6 kB / 1.202 GB, free: 64.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/1.296, allocations: 17.42 kB / 1.202 GB, free: 64.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/1.297, allocations: 35.98 kB / 1.202 GB, free: 64.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.297, allocations: 58.52 kB / 1.202 GB, free: 64.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/1.297, allocations: 23 kB / 1.202 GB, free: 64.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001814/1.299, allocations: 1.065 MB / 1.203 GB, free: 64.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.299, allocations: 0 / 1.203 GB, free: 64.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00381/1.303, allocations: 0.9371 MB / 1.204 GB, free: 63.89 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.0008494/1.303, allocations: 344.9 kB / 1.204 GB, free: 63.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003578/1.307, allocations: 1.501 MB / 1.206 GB, free: 63.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.307, allocations: 4.891 kB / 1.206 GB, free: 63.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/1.308, allocations: 374.2 kB / 1.206 GB, free: 63.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/1.312, allocations: 0.8851 MB / 1.207 GB, free: 62.92 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/1.318, allocations: 2.954 MB / 1.21 GB, free: 61.45 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.32, allocations: 0.8111 MB / 1.211 GB, free: 61.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002416/1.322, allocations: 369.4 kB / 1.211 GB, free: 61.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/1.323, allocations: 152.9 kB / 1.211 GB, free: 61.14 MB / 1.076 GB Notification: Performance of SimCode: time 1.914e-06/1.323, allocations: 0 / 1.211 GB, free: 61.14 MB / 1.076 GB Notification: Performance of Templates: time 0.06737/1.39, allocations: 35.23 MB / 1.245 GB, free: 52.03 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.579840555787086]