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.001588/0.001588, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001959/0.001959, allocations: 204 kB / 20.09 MB, free: 2.977 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.003/3.003, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.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: 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.00223/0.00223, allocations: 67.89 kB / 1.15 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9912/0.9935, allocations: 176.1 MB / 1.322 GB, free: 7.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1728/1.166, allocations: 156 MB / 1.474 GB, free: 9.602 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04799/1.214, allocations: 30.28 MB / 1.504 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007297/1.222, allocations: 202.2 kB / 1.504 GB, free: 11.05 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003843/1.225, allocations: 1.059 MB / 1.505 GB, free: 9.98 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.236, allocations: 3.269 MB / 1.508 GB, free: 6.699 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006883/1.243, allocations: 2.508 MB / 1.511 GB, free: 4.223 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.009517/1.252, allocations: 5.294 MB / 1.516 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004285/1.257, allocations: 1.885 MB / 1.518 GB, free: 12.98 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007807/1.264, allocations: 2.833 MB / 1.521 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004272/1.269, allocations: 1.984 MB / 1.522 GB, free: 8.141 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007886/1.269, allocations: 223.9 kB / 1.523 GB, free: 7.922 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/1.273, allocations: 1.104 MB / 1.524 GB, free: 6.816 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007549/1.273, allocations: 0.5718 MB / 1.524 GB, free: 6.242 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/1.276, allocations: 1.248 MB / 1.526 GB, free: 4.988 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005547/1.281, allocations: 3.314 MB / 1.529 GB, free: 1.664 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.281, allocations: 0 / 1.529 GB, free: 1.664 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.684e-06/1.281, allocations: 0 / 1.529 GB, free: 1.664 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.344e-05/1.281, allocations: 3.938 kB / 1.529 GB, free: 1.66 MB / 1.201 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.006123/1.287, allocations: 2.723 MB / 1.531 GB, free: 14.87 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.287, allocations: 15.97 kB / 1.531 GB, free: 14.86 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/1.288, allocations: 266.3 kB / 1.532 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/1.291, allocations: 1.509 MB / 1.533 GB, free: 13.01 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.683e-05/1.291, allocations: 102.3 kB / 1.533 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/1.291, allocations: 144 kB / 1.533 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/1.294, allocations: 1.183 MB / 1.535 GB, free: 11.56 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.294, allocations: 7.938 kB / 1.535 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.294, allocations: 48 kB / 1.535 GB, free: 11.5 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/1.294, allocations: 28 kB / 1.535 GB, free: 11.48 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/1.296, allocations: 1.048 MB / 1.536 GB, free: 10.42 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/1.308, allocations: 6.304 MB / 1.542 GB, free: 3.648 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.309, allocations: 0.5318 MB / 1.542 GB, free: 3.105 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/1.309, allocations: 358.3 kB / 1.543 GB, free: 2.754 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/1.31, allocations: 0.5109 MB / 1.543 GB, free: 2.133 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/1.31, allocations: 39.12 kB / 1.543 GB, free: 2.086 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002461/1.313, allocations: 311.3 kB / 1.544 GB, free: 1.781 MB / 1.217 GB Notification: Performance of pre-optimization done (n=58): time 7.053e-06/1.313, allocations: 0 / 1.544 GB, free: 1.781 MB / 1.217 GB Notification: Performance of matching and sorting (n=58): time 0.003132/1.316, allocations: 1.169 MB / 1.545 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/1.316, allocations: 59.97 kB / 1.545 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/1.319, allocations: 1.833 MB / 1.546 GB, free: 14.67 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/1.319, allocations: 53.64 kB / 1.547 GB, free: 14.61 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/1.32, allocations: 0.9233 MB / 1.547 GB, free: 13.68 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/1.32, allocations: 206.2 kB / 1.548 GB, free: 13.48 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004744/1.32, allocations: 294.7 kB / 1.548 GB, free: 13.19 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.321, allocations: 349.9 kB / 1.548 GB, free: 12.84 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/1.321, allocations: 453.9 kB / 1.549 GB, free: 12.39 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.323, allocations: 0.6821 MB / 1.549 GB, free: 11.63 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/1.324, allocations: 0.9735 MB / 1.55 GB, free: 10.62 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.324, allocations: 0 / 1.55 GB, free: 10.62 MB / 1.232 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002869/1.327, allocations: 1.417 MB / 1.552 GB, free: 9.195 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.327, allocations: 8 kB / 1.552 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.327, allocations: 4 kB / 1.552 GB, free: 9.184 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/1.327, allocations: 11.94 kB / 1.552 GB, free: 9.172 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.329, allocations: 275.6 kB / 1.552 GB, free: 8.902 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/1.329, allocations: 15.88 kB / 1.552 GB, free: 8.887 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/1.33, allocations: 75.95 kB / 1.552 GB, free: 8.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.33, allocations: 59.95 kB / 1.552 GB, free: 8.754 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001506/1.332, allocations: 0.7095 MB / 1.553 GB, free: 8.039 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001176/1.333, allocations: 0.6567 MB / 1.553 GB, free: 7.301 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001708/1.335, allocations: 0.9227 MB / 1.554 GB, free: 6.336 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/1.335, allocations: 0 / 1.554 GB, free: 6.336 MB / 1.232 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.003173/1.338, allocations: 1.359 MB / 1.556 GB, free: 4.969 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.338, allocations: 8 kB / 1.556 GB, free: 4.961 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.338, allocations: 0 / 1.556 GB, free: 4.961 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.338, allocations: 12 kB / 1.556 GB, free: 4.949 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.339, allocations: 275.9 kB / 1.556 GB, free: 4.68 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.339, allocations: 11.94 kB / 1.556 GB, free: 4.668 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.341, allocations: 99.83 kB / 1.556 GB, free: 4.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.341, allocations: 55.95 kB / 1.556 GB, free: 4.516 MB / 1.232 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.0003688/1.342, allocations: 232 kB / 1.556 GB, free: 4.281 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.342, allocations: 206.6 kB / 1.557 GB, free: 4.078 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/1.344, allocations: 1.089 MB / 1.558 GB, free: 2.984 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/1.344, allocations: 11.98 kB / 1.558 GB, free: 2.973 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.344, allocations: 3.938 kB / 1.558 GB, free: 2.969 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.344, allocations: 7.922 kB / 1.558 GB, free: 2.961 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/1.349, allocations: 2.416 MB / 1.56 GB, free: 476 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.349, allocations: 4 kB / 1.56 GB, free: 472 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/1.349, allocations: 135.8 kB / 1.56 GB, free: 336 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.349, allocations: 8 kB / 1.56 GB, free: 328 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/1.349, allocations: 15.98 kB / 1.56 GB, free: 312 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.349, allocations: 8.188 kB / 1.56 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.349, allocations: 4 kB / 1.56 GB, free: 300 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/1.351, allocations: 1.079 MB / 1.561 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/1.352, allocations: 351.5 kB / 1.562 GB, free: 14.81 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.352, allocations: 16 kB / 1.562 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/1.353, allocations: 35.95 kB / 1.562 GB, free: 14.76 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.353, allocations: 60.52 kB / 1.562 GB, free: 14.7 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/1.353, allocations: 24 kB / 1.562 GB, free: 14.68 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001813/1.355, allocations: 1.203 MB / 1.563 GB, free: 13.46 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.355, allocations: 4 kB / 1.563 GB, free: 13.46 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002323/1.357, allocations: 0.8929 MB / 1.564 GB, free: 12.56 MB / 1.248 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.000676/1.358, allocations: 342.2 kB / 1.564 GB, free: 12.22 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002991/1.361, allocations: 1.494 MB / 1.566 GB, free: 10.73 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.361, allocations: 4.188 kB / 1.566 GB, free: 10.73 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006701/1.362, allocations: 371.5 kB / 1.566 GB, free: 10.37 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004878/1.366, allocations: 1.072 MB / 1.567 GB, free: 9.32 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/1.372, allocations: 3.053 MB / 1.57 GB, free: 6.203 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.373, allocations: 1.393 MB / 1.571 GB, free: 4.777 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/1.374, allocations: 163.4 kB / 1.571 GB, free: 4.617 MB / 1.248 GB Notification: Performance of SimCode: time 1.172e-06/1.374, allocations: 0 / 1.571 GB, free: 4.617 MB / 1.248 GB Notification: Performance of Templates: time 0.05381/1.427, allocations: 30.86 MB / 1.602 GB, free: 6.098 MB / 1.279 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/jenkins1/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: 18.76796705900051]