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 12.0.0-master/package.mo", uses=false) 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=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.006792/0.006792, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001529/0.001529, allocations: 202.6 kB / 16.68 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 59.91 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3359, allocations: 159.9 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.9033/1.239, allocations: 154.4 MB / 1.376 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04888/1.288, allocations: 30.4 MB / 1.406 GB, free: 2.043 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008407/1.297, allocations: 142.1 kB / 1.406 GB, free: 1.988 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004014/1.301, allocations: 1.043 MB / 1.407 GB, free: 1.074 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/1.313, allocations: 3.152 MB / 1.41 GB, free: 14.55 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007505/1.321, allocations: 2.517 MB / 1.413 GB, free: 12.65 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.009923/1.331, allocations: 5.395 MB / 1.418 GB, free: 9.535 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/1.335, allocations: 2.237 MB / 1.42 GB, free: 8.062 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007387/1.342, allocations: 2.699 MB / 1.423 GB, free: 6.402 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004332/1.347, allocations: 1.958 MB / 1.425 GB, free: 4.742 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007384/1.347, allocations: 212 kB / 1.425 GB, free: 4.535 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004125/1.351, allocations: 1.088 MB / 1.426 GB, free: 3.445 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008219/1.352, allocations: 0.5642 MB / 1.427 GB, free: 2.879 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/1.355, allocations: 1.271 MB / 1.428 GB, free: 1.602 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005417/1.36, allocations: 3.337 MB / 1.431 GB, free: 14.25 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.36, allocations: 3.984 kB / 1.431 GB, free: 14.25 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.083e-06/1.36, allocations: 0 / 1.431 GB, free: 14.25 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.77e-05/1.36, allocations: 0 / 1.431 GB, free: 14.25 MB / 1.123 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.004811/1.365, allocations: 2.876 MB / 1.434 GB, free: 11.31 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.365, allocations: 8.031 kB / 1.434 GB, free: 11.3 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005329/1.366, allocations: 278.3 kB / 1.434 GB, free: 11.03 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/1.368, allocations: 1.529 MB / 1.436 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.443e-05/1.368, allocations: 110.3 kB / 1.436 GB, free: 9.316 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/1.369, allocations: 136 kB / 1.436 GB, free: 9.184 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/1.371, allocations: 1.163 MB / 1.437 GB, free: 7.992 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.371, allocations: 0 / 1.437 GB, free: 7.992 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/1.371, allocations: 51.94 kB / 1.437 GB, free: 7.941 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/1.371, allocations: 31.98 kB / 1.437 GB, free: 7.91 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/1.373, allocations: 1.009 MB / 1.438 GB, free: 6.895 MB / 1.123 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.01155/1.385, allocations: 6.326 MB / 1.444 GB, free: 104 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/1.386, allocations: 0.5759 MB / 1.445 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/1.386, allocations: 385.2 kB / 1.445 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/1.387, allocations: 0.5069 MB / 1.446 GB, free: 14.52 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/1.387, allocations: 35.12 kB / 1.446 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001235/1.388, allocations: 235.3 kB / 1.446 GB, free: 14.25 MB / 1.139 GB Notification: Performance of pre-optimization done (n=58): time 2.786e-06/1.388, allocations: 0 / 1.446 GB, free: 14.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=58): time 0.0023/1.39, allocations: 1.177 MB / 1.447 GB, free: 13.07 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.39, allocations: 55.97 kB / 1.447 GB, free: 13 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.393, allocations: 1.904 MB / 1.449 GB, free: 11.07 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.675e-05/1.393, allocations: 45.7 kB / 1.449 GB, free: 11.02 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007815/1.394, allocations: 0.9314 MB / 1.45 GB, free: 10.08 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.394, allocations: 214.1 kB / 1.45 GB, free: 9.871 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/1.394, allocations: 298.7 kB / 1.45 GB, free: 9.574 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.395, allocations: 353.9 kB / 1.451 GB, free: 9.223 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/1.395, allocations: 453.7 kB / 1.451 GB, free: 8.777 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.397, allocations: 0.6801 MB / 1.452 GB, free: 8.016 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/1.398, allocations: 0.9735 MB / 1.453 GB, free: 7 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.398, allocations: 0 / 1.453 GB, free: 7 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002932/1.401, allocations: 1.425 MB / 1.454 GB, free: 5.566 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.401, allocations: 4 kB / 1.454 GB, free: 5.562 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.401, allocations: 7.984 kB / 1.454 GB, free: 5.555 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.401, allocations: 8 kB / 1.454 GB, free: 5.547 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.402, allocations: 279.5 kB / 1.454 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/1.403, allocations: 16.3 kB / 1.455 GB, free: 5.258 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.404, allocations: 80.73 kB / 1.455 GB, free: 5.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.404, allocations: 55.95 kB / 1.455 GB, free: 5.125 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/1.406, allocations: 0.7151 MB / 1.455 GB, free: 4.406 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001034/1.407, allocations: 0.6644 MB / 1.456 GB, free: 3.664 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001567/1.408, allocations: 0.9188 MB / 1.457 GB, free: 2.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.082e-06/1.408, allocations: 0 / 1.457 GB, free: 2.707 MB / 1.139 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002793/1.411, allocations: 1.355 MB / 1.458 GB, free: 1.344 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.411, allocations: 12 kB / 1.458 GB, free: 1.332 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.411, allocations: 7.984 kB / 1.458 GB, free: 1.324 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.411, allocations: 8 kB / 1.458 GB, free: 1.316 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.412, allocations: 272.7 kB / 1.458 GB, free: 1.051 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/1.412, allocations: 8 kB / 1.458 GB, free: 1.043 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/1.414, allocations: 95.91 kB / 1.459 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/1.415, allocations: 59.89 kB / 1.459 GB, free: 0.8906 MB / 1.139 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.0005087/1.415, allocations: 236 kB / 1.459 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/1.416, allocations: 214.6 kB / 1.459 GB, free: 452 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/1.418, allocations: 1.093 MB / 1.46 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/1.418, allocations: 8 kB / 1.46 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.418, allocations: 0 / 1.46 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/1.418, allocations: 11.92 kB / 1.46 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/1.423, allocations: 2.449 MB / 1.463 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.423, allocations: 0 / 1.463 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/1.424, allocations: 132 kB / 1.463 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/1.424, allocations: 11.98 kB / 1.463 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/1.424, allocations: 16 kB / 1.463 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.424, allocations: 7.938 kB / 1.463 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.424, allocations: 4 kB / 1.463 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/1.426, allocations: 1.083 MB / 1.464 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009903/1.427, allocations: 367.5 kB / 1.464 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/1.427, allocations: 19.98 kB / 1.464 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/1.428, allocations: 35.97 kB / 1.464 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.428, allocations: 52.58 kB / 1.464 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/1.428, allocations: 24 kB / 1.464 GB, free: 11 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002381/1.431, allocations: 1.252 MB / 1.465 GB, free: 9.73 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/1.431, allocations: 0 / 1.465 GB, free: 9.73 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002864/1.433, allocations: 0.8929 MB / 1.466 GB, free: 8.836 MB / 1.154 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.0009285/1.434, allocations: 355.5 kB / 1.467 GB, free: 8.496 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003566/1.438, allocations: 1.621 MB / 1.468 GB, free: 6.879 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.438, allocations: 0 / 1.468 GB, free: 6.879 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007891/1.439, allocations: 420.9 kB / 1.469 GB, free: 6.465 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/1.444, allocations: 1.075 MB / 1.47 GB, free: 5.418 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/1.451, allocations: 3.06 MB / 1.473 GB, free: 2.297 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/1.453, allocations: 1.405 MB / 1.474 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002371/1.455, allocations: 411.6 kB / 1.474 GB, free: 472 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/1.456, allocations: 163.4 kB / 1.475 GB, free: 308 kB / 1.154 GB Notification: Performance of SimCode: time 1.012e-06/1.456, allocations: 0 / 1.475 GB, free: 308 kB / 1.154 GB Notification: Performance of Templates: time 0.06824/1.524, allocations: 38.49 MB / 1.512 GB, free: 10.36 MB / 1.201 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/jenkins/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