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.001236/0.001236, allocations: 112.3 kB / 16.42 MB, free: 6.527 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.001293/0.001293, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.525/2.525, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 67.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.085, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1799/1.265, allocations: 154.4 MB / 1.318 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04899/1.314, allocations: 30.4 MB / 1.348 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006832/1.321, allocations: 139.1 kB / 1.348 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004049/1.325, allocations: 1.051 MB / 1.349 GB, free: 9.254 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.337, allocations: 3.325 MB / 1.352 GB, free: 5.918 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008625/1.346, allocations: 2.52 MB / 1.355 GB, free: 3.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009977/1.356, allocations: 5.408 MB / 1.36 GB, free: 14 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004935/1.361, allocations: 2.24 MB / 1.362 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009195/1.37, allocations: 2.747 MB / 1.365 GB, free: 8.957 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005327/1.375, allocations: 1.968 MB / 1.367 GB, free: 6.98 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0013/1.377, allocations: 216 kB / 1.367 GB, free: 6.77 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/1.381, allocations: 1.088 MB / 1.368 GB, free: 5.68 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/1.383, allocations: 0.5565 MB / 1.369 GB, free: 5.121 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00341/1.386, allocations: 1.271 MB / 1.37 GB, free: 3.844 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007816/1.394, allocations: 3.344 MB / 1.373 GB, free: 500 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.394, allocations: 0 / 1.373 GB, free: 500 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.784e-06/1.394, allocations: 0 / 1.373 GB, free: 500 kB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001468/1.394, allocations: 0 / 1.373 GB, free: 500 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.007981/1.402, allocations: 2.867 MB / 1.376 GB, free: 13.55 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/1.402, allocations: 12.88 kB / 1.376 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/1.403, allocations: 278.2 kB / 1.376 GB, free: 13.27 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/1.407, allocations: 1.545 MB / 1.378 GB, free: 11.65 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.407, allocations: 102.3 kB / 1.378 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/1.408, allocations: 136 kB / 1.378 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/1.411, allocations: 1.159 MB / 1.379 GB, free: 10.23 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/1.411, allocations: 7.938 kB / 1.379 GB, free: 10.22 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/1.411, allocations: 44 kB / 1.379 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/1.411, allocations: 28 kB / 1.379 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/1.413, allocations: 1.013 MB / 1.38 GB, free: 9.129 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.01226/1.425, allocations: 6.333 MB / 1.386 GB, free: 2.332 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.426, allocations: 0.579 MB / 1.387 GB, free: 1.746 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/1.427, allocations: 382.4 kB / 1.387 GB, free: 1.367 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005035/1.428, allocations: 0.5031 MB / 1.388 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.428, allocations: 35.12 kB / 1.388 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001573/1.429, allocations: 239.3 kB / 1.388 GB, free: 488 kB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 7.424e-06/1.429, allocations: 0 / 1.388 GB, free: 488 kB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002808/1.432, allocations: 1.177 MB / 1.389 GB, free: 15.29 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/1.432, allocations: 63.95 kB / 1.389 GB, free: 15.22 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/1.436, allocations: 1.9 MB / 1.391 GB, free: 13.29 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/1.436, allocations: 45.7 kB / 1.391 GB, free: 13.24 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.437, allocations: 0.9313 MB / 1.392 GB, free: 12.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/1.437, allocations: 214.2 kB / 1.392 GB, free: 12.09 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/1.438, allocations: 298.7 kB / 1.392 GB, free: 11.8 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.438, allocations: 353.9 kB / 1.393 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009563/1.439, allocations: 449.9 kB / 1.393 GB, free: 11 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.441, allocations: 0.6878 MB / 1.394 GB, free: 10.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/1.443, allocations: 0.9735 MB / 1.395 GB, free: 9.219 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/1.443, allocations: 0 / 1.395 GB, free: 9.219 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003013/1.446, allocations: 1.417 MB / 1.396 GB, free: 7.793 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.446, allocations: 4 kB / 1.396 GB, free: 7.789 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.446, allocations: 4 kB / 1.396 GB, free: 7.785 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/1.446, allocations: 8 kB / 1.396 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/1.447, allocations: 283.9 kB / 1.396 GB, free: 7.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-05/1.447, allocations: 11.94 kB / 1.396 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.449, allocations: 75.86 kB / 1.397 GB, free: 7.414 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/1.45, allocations: 63.95 kB / 1.397 GB, free: 7.352 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001665/1.451, allocations: 0.7134 MB / 1.397 GB, free: 6.633 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00109/1.452, allocations: 0.6489 MB / 1.398 GB, free: 5.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/1.454, allocations: 0.9227 MB / 1.399 GB, free: 4.945 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.156e-06/1.454, allocations: 0 / 1.399 GB, free: 4.945 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002913/1.457, allocations: 1.355 MB / 1.4 GB, free: 3.582 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.457, allocations: 8 kB / 1.4 GB, free: 3.574 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.457, allocations: 7.938 kB / 1.4 GB, free: 3.566 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.457, allocations: 8 kB / 1.4 GB, free: 3.559 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.458, allocations: 275.5 kB / 1.4 GB, free: 3.289 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/1.458, allocations: 12 kB / 1.4 GB, free: 3.277 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.46, allocations: 87.94 kB / 1.401 GB, free: 3.191 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.46, allocations: 59.89 kB / 1.401 GB, free: 3.133 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.0003755/1.461, allocations: 236 kB / 1.401 GB, free: 2.895 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005662/1.461, allocations: 210.6 kB / 1.401 GB, free: 2.688 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/1.464, allocations: 1.104 MB / 1.402 GB, free: 1.582 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.464, allocations: 3.984 kB / 1.402 GB, free: 1.578 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/1.464, allocations: 4 kB / 1.402 GB, free: 1.574 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009256/1.465, allocations: 375.4 kB / 1.402 GB, free: 1.188 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/1.465, allocations: 16 kB / 1.403 GB, free: 1.172 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.466, allocations: 31.95 kB / 1.403 GB, free: 1.141 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.466, allocations: 48.59 kB / 1.403 GB, free: 1.094 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001747/1.468, allocations: 0.8915 MB / 1.403 GB, free: 200 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001972/1.47, allocations: 1.129 MB / 1.405 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006314/1.471, allocations: 385 kB / 1.405 GB, free: 14.67 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002442/1.473, allocations: 1.248 MB / 1.406 GB, free: 13.41 MB / 1.139 GB Notification: Performance of Backend: time 4.91e-07/1.473, allocations: 0 / 1.406 GB, free: 13.41 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004874/1.478, allocations: 1.672 MB / 1.408 GB, free: 11.75 MB / 1.139 GB Notification: Performance of SimCode: time 0.01076/1.489, allocations: 4.184 MB / 1.412 GB, free: 7.523 MB / 1.139 GB Notification: Performance of Templates: time 0.07965/1.569, allocations: 41.67 MB / 1.453 GB, free: 14.31 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/jenkins1/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