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.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.001554/0.001554, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001652/0.001652, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.494/1.494, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.003128/0.003128, allocations: 67.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.068, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1757/1.244, allocations: 154.2 MB / 1.413 GB, free: 6.816 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.04979/1.294, allocations: 30.18 MB / 1.443 GB, free: 14.15 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007763/1.302, allocations: 142.8 kB / 1.443 GB, free: 14.09 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004124/1.306, allocations: 1.031 MB / 1.444 GB, free: 13.19 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/1.317, allocations: 3.106 MB / 1.447 GB, free: 10.71 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.007579/1.325, allocations: 2.505 MB / 1.449 GB, free: 8.805 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.009639/1.334, allocations: 5.296 MB / 1.454 GB, free: 3.75 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/1.338, allocations: 2.209 MB / 1.457 GB, free: 1.488 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007027/1.345, allocations: 2.731 MB / 1.459 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004302/1.35, allocations: 1.891 MB / 1.461 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007427/1.35, allocations: 212 kB / 1.461 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/1.354, allocations: 1.088 MB / 1.462 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007849/1.355, allocations: 0.5604 MB / 1.463 GB, free: 10.99 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002301/1.357, allocations: 1.244 MB / 1.464 GB, free: 9.738 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005618/1.363, allocations: 3.279 MB / 1.467 GB, free: 6.449 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.363, allocations: 0 / 1.467 GB, free: 6.449 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.323e-06/1.363, allocations: 0 / 1.467 GB, free: 6.449 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.021e-05/1.363, allocations: 0 / 1.467 GB, free: 6.449 MB / 1.154 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.005605/1.368, allocations: 2.808 MB / 1.47 GB, free: 3.57 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.368, allocations: 12.02 kB / 1.47 GB, free: 3.559 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/1.369, allocations: 270.3 kB / 1.47 GB, free: 3.293 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/1.372, allocations: 1.509 MB / 1.472 GB, free: 1.711 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.363e-05/1.372, allocations: 102.3 kB / 1.472 GB, free: 1.609 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/1.372, allocations: 136 kB / 1.472 GB, free: 1.477 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/1.374, allocations: 1.156 MB / 1.473 GB, free: 300 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/1.374, allocations: 11.88 kB / 1.473 GB, free: 288 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.374, allocations: 44 kB / 1.473 GB, free: 244 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/1.374, allocations: 28 kB / 1.473 GB, free: 216 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/1.376, allocations: 1.013 MB / 1.474 GB, free: 15.19 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/1.387, allocations: 6.297 MB / 1.48 GB, free: 8.426 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.388, allocations: 0.5669 MB / 1.481 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/1.389, allocations: 388.5 kB / 1.481 GB, free: 7.477 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/1.39, allocations: 0.5031 MB / 1.482 GB, free: 6.859 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.39, allocations: 39.12 kB / 1.482 GB, free: 6.812 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001497/1.391, allocations: 231.3 kB / 1.482 GB, free: 6.586 MB / 1.17 GB Notification: Performance of pre-optimization done (n=58): time 6.493e-06/1.391, allocations: 4 kB / 1.482 GB, free: 6.582 MB / 1.17 GB Notification: Performance of matching and sorting (n=58): time 0.002351/1.393, allocations: 1.169 MB / 1.483 GB, free: 5.406 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/1.394, allocations: 59.97 kB / 1.483 GB, free: 5.336 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/1.396, allocations: 1.837 MB / 1.485 GB, free: 3.469 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.396, allocations: 41.7 kB / 1.485 GB, free: 3.422 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008378/1.397, allocations: 0.9233 MB / 1.486 GB, free: 2.492 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/1.397, allocations: 214.2 kB / 1.486 GB, free: 2.281 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/1.398, allocations: 290.7 kB / 1.486 GB, free: 1.992 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.398, allocations: 349.9 kB / 1.487 GB, free: 1.645 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008453/1.399, allocations: 453.8 kB / 1.487 GB, free: 1.199 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.4, allocations: 0.6913 MB / 1.488 GB, free: 440 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/1.402, allocations: 0.9696 MB / 1.489 GB, free: 15.42 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.402, allocations: 4 kB / 1.489 GB, free: 15.42 MB / 1.186 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002695/1.404, allocations: 1.417 MB / 1.49 GB, free: 13.99 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.404, allocations: 4 kB / 1.49 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.404, allocations: 4 kB / 1.49 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.404, allocations: 8.375 kB / 1.49 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.406, allocations: 291.5 kB / 1.491 GB, free: 13.69 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.406, allocations: 15.92 kB / 1.491 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.407, allocations: 63.94 kB / 1.491 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.407, allocations: 63.94 kB / 1.491 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/1.409, allocations: 0.7056 MB / 1.491 GB, free: 12.84 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001022/1.41, allocations: 0.6644 MB / 1.492 GB, free: 12.1 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/1.411, allocations: 0.9188 MB / 1.493 GB, free: 11.14 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/1.411, allocations: 4 kB / 1.493 GB, free: 11.13 MB / 1.186 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002649/1.414, allocations: 1.359 MB / 1.494 GB, free: 9.766 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.414, allocations: 10.19 kB / 1.494 GB, free: 9.758 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.414, allocations: 4 kB / 1.494 GB, free: 9.754 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.414, allocations: 11.94 kB / 1.494 GB, free: 9.742 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.415, allocations: 263.6 kB / 1.495 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/1.415, allocations: 19.92 kB / 1.495 GB, free: 9.465 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/1.417, allocations: 87.98 kB / 1.495 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.417, allocations: 63.94 kB / 1.495 GB, free: 9.316 MB / 1.186 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.0003618/1.417, allocations: 236 kB / 1.495 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/1.418, allocations: 206.6 kB / 1.495 GB, free: 8.875 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/1.42, allocations: 1.083 MB / 1.496 GB, free: 7.785 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.42, allocations: 8 kB / 1.496 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.42, allocations: 7.938 kB / 1.496 GB, free: 7.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.42, allocations: 3.984 kB / 1.496 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/1.424, allocations: 2.405 MB / 1.499 GB, free: 5.281 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.424, allocations: 8.031 kB / 1.499 GB, free: 5.273 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/1.425, allocations: 135.8 kB / 1.499 GB, free: 5.141 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/1.425, allocations: 7.938 kB / 1.499 GB, free: 5.133 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/1.425, allocations: 16 kB / 1.499 GB, free: 5.117 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/1.425, allocations: 4 kB / 1.499 GB, free: 5.113 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.425, allocations: 3.938 kB / 1.499 GB, free: 5.109 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.427, allocations: 1.075 MB / 1.5 GB, free: 3.996 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/1.427, allocations: 359.5 kB / 1.5 GB, free: 3.625 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/1.428, allocations: 12 kB / 1.5 GB, free: 3.613 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/1.428, allocations: 39.95 kB / 1.5 GB, free: 3.574 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.429, allocations: 52.53 kB / 1.5 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/1.429, allocations: 31.98 kB / 1.5 GB, free: 3.492 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001857/1.43, allocations: 1.211 MB / 1.501 GB, free: 2.266 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.43, allocations: 0 / 1.501 GB, free: 2.266 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002388/1.433, allocations: 0.8967 MB / 1.502 GB, free: 1.367 MB / 1.186 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.0007969/1.434, allocations: 336.1 kB / 1.503 GB, free: 1.043 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00308/1.437, allocations: 1.623 MB / 1.504 GB, free: 15.42 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.437, allocations: 0 / 1.504 GB, free: 15.42 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/1.438, allocations: 416 kB / 1.505 GB, free: 15.02 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/1.442, allocations: 1.076 MB / 1.506 GB, free: 13.97 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/1.449, allocations: 3.047 MB / 1.509 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.45, allocations: 1.393 MB / 1.51 GB, free: 9.43 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/1.451, allocations: 163.4 kB / 1.51 GB, free: 9.273 MB / 1.201 GB Notification: Performance of SimCode: time 9.92e-07/1.451, allocations: 0 / 1.51 GB, free: 9.273 MB / 1.201 GB Notification: Performance of Templates: time 0.0549/1.506, allocations: 30.67 MB / 1.54 GB, free: 10.93 MB / 1.232 GB " [Timeout remaining time 298] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.325807535788044]