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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001416/0.001416, allocations: 100 kB / 16.27 MB, free: 5.965 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.001435/0.001435, allocations: 192.1 kB / 17.2 MB, free: 5.598 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.57/2.57, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3461, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.8091/1.155, allocations: 154.4 MB / 1.215 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04769/1.203, allocations: 30.41 MB / 1.245 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008964/1.212, allocations: 135.2 kB / 1.245 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004667/1.217, allocations: 1.04 MB / 1.246 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/1.229, allocations: 3.159 MB / 1.249 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00863/1.238, allocations: 2.476 MB / 1.251 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01003/1.248, allocations: 5.377 MB / 1.257 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004957/1.253, allocations: 2.232 MB / 1.259 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007355/1.26, allocations: 2.677 MB / 1.261 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/1.265, allocations: 1.965 MB / 1.263 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/1.266, allocations: 215.9 kB / 1.263 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004195/1.27, allocations: 1.084 MB / 1.265 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/1.272, allocations: 0.5642 MB / 1.265 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003537/1.275, allocations: 1.267 MB / 1.266 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007041/1.282, allocations: 3.279 MB / 1.27 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/1.282, allocations: 4 kB / 1.27 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.159e-06/1.282, allocations: 0 / 1.27 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001475/1.282, allocations: 3.938 kB / 1.27 GB, free: 8.102 MB / 0.9825 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.007942/1.29, allocations: 2.784 MB / 1.272 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.29, allocations: 8.031 kB / 1.272 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/1.291, allocations: 268.8 kB / 1.273 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/1.294, allocations: 1.453 MB / 1.274 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.447e-05/1.294, allocations: 102.3 kB / 1.274 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.295, allocations: 144 kB / 1.274 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/1.297, allocations: 1.159 MB / 1.275 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/1.297, allocations: 0 / 1.275 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.297, allocations: 47.94 kB / 1.275 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/1.297, allocations: 28 kB / 1.275 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/1.299, allocations: 1.02 MB / 1.276 GB, free: 0.9219 MB / 0.9825 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.0107/1.309, allocations: 6.359 MB / 1.283 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.31, allocations: 0.5788 MB / 1.283 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/1.311, allocations: 382.4 kB / 1.284 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/1.312, allocations: 0.5109 MB / 1.284 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.312, allocations: 39.12 kB / 1.284 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001521/1.313, allocations: 230.8 kB / 1.284 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 7.614e-06/1.313, allocations: 0 / 1.284 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002526/1.316, allocations: 1.164 MB / 1.285 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.316, allocations: 55.97 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/1.319, allocations: 1.92 MB / 1.287 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000181/1.319, allocations: 41.7 kB / 1.287 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008684/1.32, allocations: 0.9107 MB / 1.288 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/1.32, allocations: 201.1 kB / 1.288 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005273/1.321, allocations: 298.5 kB / 1.289 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.321, allocations: 349.9 kB / 1.289 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008478/1.322, allocations: 449.9 kB / 1.29 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.323, allocations: 0.684 MB / 1.29 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/1.324, allocations: 0.9774 MB / 1.291 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.324, allocations: 0 / 1.291 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002923/1.327, allocations: 1.405 MB / 1.293 GB, free: 15.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.327, allocations: 8 kB / 1.293 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.327, allocations: 4 kB / 1.293 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/1.327, allocations: 8 kB / 1.293 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.329, allocations: 287.5 kB / 1.293 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/1.329, allocations: 11.94 kB / 1.293 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.33, allocations: 79.86 kB / 1.293 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/1.331, allocations: 55.95 kB / 1.293 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001415/1.332, allocations: 0.7095 MB / 1.294 GB, free: 14.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009738/1.333, allocations: 0.6528 MB / 1.294 GB, free: 13.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001477/1.334, allocations: 0.9227 MB / 1.295 GB, free: 12.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.574e-06/1.334, allocations: 0 / 1.295 GB, free: 12.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002626/1.337, allocations: 1.361 MB / 1.297 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.337, allocations: 8 kB / 1.297 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.337, allocations: 4 kB / 1.297 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.337, allocations: 8 kB / 1.297 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.338, allocations: 271.9 kB / 1.297 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/1.338, allocations: 12 kB / 1.297 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.34, allocations: 87.91 kB / 1.297 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.34, allocations: 63.89 kB / 1.297 GB, free: 10.93 MB / 1.014 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.00035/1.341, allocations: 236 kB / 1.297 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/1.341, allocations: 205.4 kB / 1.297 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/1.344, allocations: 1.094 MB / 1.298 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/1.344, allocations: 11.98 kB / 1.298 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.344, allocations: 0 / 1.298 GB, free: 9.375 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.344, allocations: 11.92 kB / 1.298 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/1.348, allocations: 2.433 MB / 1.301 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.348, allocations: 8.188 kB / 1.301 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/1.349, allocations: 131.8 kB / 1.301 GB, free: 6.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/1.349, allocations: 4 kB / 1.301 GB, free: 6.715 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/1.349, allocations: 27.98 kB / 1.301 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.349, allocations: 4 kB / 1.301 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.349, allocations: 7.875 kB / 1.301 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/1.35, allocations: 1.074 MB / 1.302 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/1.351, allocations: 358.3 kB / 1.302 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003891/1.352, allocations: 15.98 kB / 1.302 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/1.353, allocations: 39.97 kB / 1.302 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.353, allocations: 48.58 kB / 1.302 GB, free: 5.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/1.353, allocations: 24 kB / 1.303 GB, free: 5.066 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001938/1.355, allocations: 1.252 MB / 1.304 GB, free: 3.801 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.355, allocations: 0 / 1.304 GB, free: 3.801 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002621/1.357, allocations: 0.8887 MB / 1.305 GB, free: 2.91 MB / 1.014 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.0008026/1.358, allocations: 350.3 kB / 1.305 GB, free: 2.574 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003378/1.362, allocations: 1.669 MB / 1.307 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.362, allocations: 0 / 1.307 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006795/1.362, allocations: 415.9 kB / 1.307 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005502/1.368, allocations: 1.083 MB / 1.308 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/1.374, allocations: 3.086 MB / 1.311 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.376, allocations: 1.401 MB / 1.312 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.377, allocations: 163.4 kB / 1.313 GB, free: 10.72 MB / 1.029 GB Notification: Performance of SimCode: time 2.034e-06/1.377, allocations: 7.938 kB / 1.313 GB, free: 10.71 MB / 1.029 GB Notification: Performance of Templates: time 0.05298/1.43, allocations: 30.81 MB / 1.343 GB, free: 12.21 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches