Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01097/0.01097, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.002345/0.002345, allocations: 187.4 kB / 16.67 MB, free: 5.887 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.467/1.467, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 63.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.057, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.17/1.227, allocations: 154.4 MB / 1.239 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.05217/1.28, allocations: 30.39 MB / 1.268 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009577/1.289, allocations: 139.2 kB / 1.269 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005656/1.295, allocations: 1.043 MB / 1.27 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01336/1.309, allocations: 3.155 MB / 1.273 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008155/1.317, allocations: 2.518 MB / 1.275 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01015/1.327, allocations: 5.4 MB / 1.28 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004093/1.331, allocations: 2.244 MB / 1.283 GB, free: 6.438 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00707/1.338, allocations: 2.692 MB / 1.285 GB, free: 3.734 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/1.342, allocations: 1.961 MB / 1.287 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008519/1.343, allocations: 212 kB / 1.287 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/1.346, allocations: 1.092 MB / 1.288 GB, free: 476 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000702/1.347, allocations: 0.5564 MB / 1.289 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/1.349, allocations: 1.271 MB / 1.29 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005611/1.355, allocations: 3.319 MB / 1.293 GB, free: 11.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.355, allocations: 4 kB / 1.293 GB, free: 11.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/1.355, allocations: 0 / 1.293 GB, free: 11.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.205e-05/1.355, allocations: 0 / 1.293 GB, free: 11.3 MB / 1.029 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.005743/1.361, allocations: 2.795 MB / 1.296 GB, free: 8.438 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.361, allocations: 8.031 kB / 1.296 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/1.361, allocations: 264.8 kB / 1.296 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/1.364, allocations: 1.516 MB / 1.298 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/1.364, allocations: 102.3 kB / 1.298 GB, free: 6.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/1.364, allocations: 147.9 kB / 1.298 GB, free: 6.332 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/1.366, allocations: 1.156 MB / 1.299 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.366, allocations: 7.938 kB / 1.299 GB, free: 5.141 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.366, allocations: 48 kB / 1.299 GB, free: 5.094 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/1.367, allocations: 28 kB / 1.299 GB, free: 5.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.368, allocations: 1.009 MB / 1.3 GB, free: 4.051 MB / 1.029 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.379, allocations: 6.324 MB / 1.306 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/1.38, allocations: 0.5636 MB / 1.307 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/1.381, allocations: 386.3 kB / 1.307 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/1.381, allocations: 0.507 MB / 1.308 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.381, allocations: 39.12 kB / 1.308 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001458/1.383, allocations: 238.8 kB / 1.308 GB, free: 11.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 3.557e-06/1.383, allocations: 0 / 1.308 GB, free: 11.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.002234/1.385, allocations: 1.156 MB / 1.309 GB, free: 10.24 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.385, allocations: 63.95 kB / 1.309 GB, free: 10.17 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/1.388, allocations: 1.9 MB / 1.311 GB, free: 8.242 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/1.388, allocations: 49.7 kB / 1.311 GB, free: 8.188 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/1.388, allocations: 0.9224 MB / 1.312 GB, free: 7.254 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/1.389, allocations: 201 kB / 1.312 GB, free: 7.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/1.389, allocations: 306.5 kB / 1.313 GB, free: 6.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.389, allocations: 349.9 kB / 1.313 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/1.39, allocations: 457.8 kB / 1.313 GB, free: 5.953 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.391, allocations: 0.6918 MB / 1.314 GB, free: 5.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/1.393, allocations: 0.9813 MB / 1.315 GB, free: 4.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.393, allocations: 0 / 1.315 GB, free: 4.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002674/1.395, allocations: 1.424 MB / 1.316 GB, free: 2.723 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/1.396, allocations: 12 kB / 1.316 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.396, allocations: 4 kB / 1.316 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.396, allocations: 8 kB / 1.316 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.397, allocations: 287.5 kB / 1.317 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/1.397, allocations: 15.94 kB / 1.317 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.399, allocations: 87.7 kB / 1.317 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/1.399, allocations: 63.95 kB / 1.317 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/1.4, allocations: 0.7212 MB / 1.318 GB, free: 1.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/1.402, allocations: 0.6722 MB / 1.318 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001625/1.403, allocations: 0.9267 MB / 1.319 GB, free: 15.81 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/1.403, allocations: 0 / 1.319 GB, free: 15.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002911/1.406, allocations: 1.392 MB / 1.32 GB, free: 14.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.406, allocations: 4 kB / 1.321 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.406, allocations: 4 kB / 1.321 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.406, allocations: 8.375 kB / 1.321 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.407, allocations: 287.5 kB / 1.321 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/1.407, allocations: 8 kB / 1.321 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.409, allocations: 99.84 kB / 1.321 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/1.409, allocations: 55.95 kB / 1.321 GB, free: 13.95 MB / 1.061 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 (150): * Single equations (assignments): 150 * 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.0004244/1.41, allocations: 240 kB / 1.321 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/1.41, allocations: 201.4 kB / 1.321 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/1.413, allocations: 1.096 MB / 1.322 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/1.413, allocations: 8 kB / 1.322 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.413, allocations: 3.938 kB / 1.322 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.413, allocations: 3.984 kB / 1.322 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/1.418, allocations: 2.449 MB / 1.325 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.418, allocations: 0 / 1.325 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/1.419, allocations: 131.8 kB / 1.325 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/1.419, allocations: 4.188 kB / 1.325 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/1.419, allocations: 31.98 kB / 1.325 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/1.419, allocations: 4 kB / 1.325 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.419, allocations: 4 kB / 1.325 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/1.421, allocations: 1.066 MB / 1.326 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/1.422, allocations: 362.2 kB / 1.326 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005062/1.422, allocations: 19.98 kB / 1.326 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.423, allocations: 31.97 kB / 1.326 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.424, allocations: 52.58 kB / 1.326 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/1.424, allocations: 28 kB / 1.327 GB, free: 8.082 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002397/1.426, allocations: 1.252 MB / 1.328 GB, free: 6.816 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/1.426, allocations: 3.938 kB / 1.328 GB, free: 6.812 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003599/1.43, allocations: 0.9082 MB / 1.329 GB, free: 5.902 MB / 1.061 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.0009479/1.431, allocations: 342.5 kB / 1.329 GB, free: 5.574 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003513/1.434, allocations: 1.669 MB / 1.331 GB, free: 3.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.434, allocations: 0 / 1.331 GB, free: 3.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007919/1.435, allocations: 408.8 kB / 1.331 GB, free: 3.508 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006226/1.441, allocations: 1.088 MB / 1.332 GB, free: 2.449 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/1.447, allocations: 2.99 MB / 1.335 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/1.448, allocations: 1.409 MB / 1.336 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002197/1.45, allocations: 411.6 kB / 1.337 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/1.451, allocations: 159.4 kB / 1.337 GB, free: 13.41 MB / 1.076 GB Notification: Performance of SimCode: time 7.51e-07/1.451, allocations: 0 / 1.337 GB, free: 13.41 MB / 1.076 GB Notification: Performance of Templates: time 0.07046/1.522, allocations: 38.68 MB / 1.375 GB, free: 7.328 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches