Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007959/0.007959, allocations: 96.88 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 192.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.136, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1758/1.312, allocations: 154.4 MB / 1.317 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04861/1.361, allocations: 30.39 MB / 1.347 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007655/1.368, allocations: 143.1 kB / 1.347 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004141/1.373, allocations: 1.055 MB / 1.348 GB, free: 9.238 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/1.384, allocations: 3.329 MB / 1.351 GB, free: 5.898 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006762/1.391, allocations: 2.516 MB / 1.354 GB, free: 3.414 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008032/1.399, allocations: 5.404 MB / 1.359 GB, free: 13.99 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00391/1.403, allocations: 2.233 MB / 1.361 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/1.409, allocations: 2.755 MB / 1.364 GB, free: 8.941 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004225/1.413, allocations: 1.965 MB / 1.366 GB, free: 6.969 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/1.414, allocations: 212 kB / 1.366 GB, free: 6.762 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/1.418, allocations: 1.096 MB / 1.367 GB, free: 5.664 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/1.419, allocations: 0.5564 MB / 1.368 GB, free: 5.105 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002801/1.422, allocations: 1.267 MB / 1.369 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007073/1.429, allocations: 3.342 MB / 1.372 GB, free: 492 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/1.429, allocations: 0 / 1.372 GB, free: 492 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.715e-06/1.429, allocations: 4 kB / 1.372 GB, free: 488 kB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001679/1.429, allocations: 0 / 1.372 GB, free: 488 kB / 1.092 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.007175/1.437, allocations: 2.867 MB / 1.375 GB, free: 13.54 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.437, allocations: 12.88 kB / 1.375 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/1.437, allocations: 282.3 kB / 1.375 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/1.44, allocations: 1.537 MB / 1.377 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/1.44, allocations: 106.3 kB / 1.377 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/1.44, allocations: 140 kB / 1.377 GB, free: 11.4 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/1.442, allocations: 1.159 MB / 1.378 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/1.442, allocations: 7.938 kB / 1.378 GB, free: 10.2 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.442, allocations: 44 kB / 1.378 GB, free: 10.16 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/1.442, allocations: 28 kB / 1.378 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/1.444, allocations: 1.013 MB / 1.379 GB, free: 9.113 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/1.455, allocations: 6.33 MB / 1.386 GB, free: 2.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.456, allocations: 0.5747 MB / 1.386 GB, free: 1.738 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/1.456, allocations: 386.5 kB / 1.386 GB, free: 1.359 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/1.457, allocations: 0.5108 MB / 1.387 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.457, allocations: 39.06 kB / 1.387 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001577/1.459, allocations: 235.3 kB / 1.387 GB, free: 472 kB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 3.587e-06/1.459, allocations: 0 / 1.387 GB, free: 472 kB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002218/1.461, allocations: 1.177 MB / 1.388 GB, free: 15.28 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.461, allocations: 59.97 kB / 1.388 GB, free: 15.21 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/1.463, allocations: 1.9 MB / 1.39 GB, free: 13.28 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/1.463, allocations: 45.7 kB / 1.39 GB, free: 13.23 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007601/1.464, allocations: 0.9274 MB / 1.391 GB, free: 12.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/1.464, allocations: 222.1 kB / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/1.465, allocations: 290.7 kB / 1.392 GB, free: 11.79 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.465, allocations: 353.9 kB / 1.392 GB, free: 11.44 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/1.466, allocations: 449.9 kB / 1.392 GB, free: 11 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/1.467, allocations: 0.6878 MB / 1.393 GB, free: 10.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.468, allocations: 0.9735 MB / 1.394 GB, free: 9.211 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.468, allocations: 0 / 1.394 GB, free: 9.211 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002493/1.471, allocations: 1.421 MB / 1.395 GB, free: 7.781 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.471, allocations: 7.938 kB / 1.395 GB, free: 7.773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.471, allocations: 4 kB / 1.396 GB, free: 7.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.471, allocations: 8 kB / 1.396 GB, free: 7.762 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.472, allocations: 279.5 kB / 1.396 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.472, allocations: 12.31 kB / 1.396 GB, free: 7.477 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.474, allocations: 79.91 kB / 1.396 GB, free: 7.398 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.474, allocations: 63.95 kB / 1.396 GB, free: 7.336 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001282/1.475, allocations: 0.7095 MB / 1.397 GB, free: 6.621 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009474/1.476, allocations: 0.6567 MB / 1.397 GB, free: 5.891 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00145/1.478, allocations: 0.9266 MB / 1.398 GB, free: 4.922 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/1.478, allocations: 0 / 1.398 GB, free: 4.922 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002303/1.48, allocations: 1.351 MB / 1.399 GB, free: 3.562 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.48, allocations: 12 kB / 1.399 GB, free: 3.551 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.48, allocations: 7.984 kB / 1.4 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.48, allocations: 8 kB / 1.4 GB, free: 3.535 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.481, allocations: 271.6 kB / 1.4 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.481, allocations: 8 kB / 1.4 GB, free: 3.262 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.483, allocations: 99.78 kB / 1.4 GB, free: 3.164 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/1.483, allocations: 55.95 kB / 1.4 GB, free: 3.109 MB / 1.123 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.0002962/1.483, allocations: 240 kB / 1.4 GB, free: 2.867 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/1.483, allocations: 210.6 kB / 1.4 GB, free: 2.66 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/1.485, allocations: 1.089 MB / 1.401 GB, free: 1.566 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.485, allocations: 8 kB / 1.401 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.486, allocations: 7.938 kB / 1.401 GB, free: 1.551 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.486, allocations: 3.984 kB / 1.401 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/1.489, allocations: 2.441 MB / 1.404 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.489, allocations: 0 / 1.404 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/1.49, allocations: 140 kB / 1.404 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.49, allocations: 4 kB / 1.404 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/1.49, allocations: 16 kB / 1.404 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/1.49, allocations: 11.92 kB / 1.404 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.49, allocations: 4 kB / 1.404 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/1.492, allocations: 1.075 MB / 1.405 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/1.492, allocations: 371.5 kB / 1.405 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/1.492, allocations: 16 kB / 1.405 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/1.493, allocations: 43.89 kB / 1.405 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.493, allocations: 48.59 kB / 1.405 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/1.493, allocations: 31.92 kB / 1.406 GB, free: 13.22 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001712/1.495, allocations: 1.248 MB / 1.407 GB, free: 11.96 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.01e-07/1.495, allocations: 4 kB / 1.407 GB, free: 11.96 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002161/1.497, allocations: 0.9007 MB / 1.408 GB, free: 11.05 MB / 1.139 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.0007219/1.498, allocations: 355.5 kB / 1.408 GB, free: 10.71 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003081/1.501, allocations: 1.617 MB / 1.41 GB, free: 9.102 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.501, allocations: 0 / 1.41 GB, free: 9.102 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006781/1.502, allocations: 413 kB / 1.41 GB, free: 8.699 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.506, allocations: 1.079 MB / 1.411 GB, free: 7.645 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/1.512, allocations: 3.048 MB / 1.414 GB, free: 4.543 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.513, allocations: 1.409 MB / 1.415 GB, free: 3.094 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002061/1.515, allocations: 415.7 kB / 1.416 GB, free: 2.684 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/1.515, allocations: 159.4 kB / 1.416 GB, free: 2.527 MB / 1.139 GB Notification: Performance of SimCode: time 1.182e-06/1.515, allocations: 0 / 1.416 GB, free: 2.527 MB / 1.139 GB Notification: Performance of Templates: time 0.06736/1.583, allocations: 38.51 MB / 1.454 GB, free: 12.53 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches