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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001623/0.001623, allocations: 108.6 kB / 16.37 MB, free: 6 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.001809/0.001809, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.692/1.692, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 65.5 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3498, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.7372/1.087, allocations: 154.4 MB / 1.17 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04561/1.133, allocations: 30.4 MB / 1.199 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00741/1.14, allocations: 136.2 kB / 1.199 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/1.144, allocations: 1.039 MB / 1.2 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/1.155, allocations: 3.167 MB / 1.203 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006794/1.162, allocations: 2.509 MB / 1.206 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008372/1.17, allocations: 5.399 MB / 1.211 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003462/1.173, allocations: 2.23 MB / 1.213 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006153/1.18, allocations: 2.692 MB / 1.216 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/1.183, allocations: 1.969 MB / 1.218 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005558/1.184, allocations: 212 kB / 1.218 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/1.188, allocations: 1.088 MB / 1.219 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006124/1.188, allocations: 0.5604 MB / 1.22 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/1.19, allocations: 1.271 MB / 1.221 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004646/1.195, allocations: 3.313 MB / 1.224 GB, free: 12.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.195, allocations: 4 kB / 1.224 GB, free: 12.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/1.195, allocations: 0 / 1.224 GB, free: 12.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.407e-05/1.195, allocations: 3.938 kB / 1.224 GB, free: 12.34 MB / 0.92 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.005358/1.2, allocations: 2.788 MB / 1.227 GB, free: 9.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.2, allocations: 12.88 kB / 1.227 GB, free: 9.469 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/1.201, allocations: 268.8 kB / 1.227 GB, free: 9.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/1.203, allocations: 1.52 MB / 1.229 GB, free: 7.609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/1.203, allocations: 106.3 kB / 1.229 GB, free: 7.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/1.204, allocations: 140 kB / 1.229 GB, free: 7.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/1.206, allocations: 1.159 MB / 1.23 GB, free: 6.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/1.206, allocations: 3.984 kB / 1.23 GB, free: 6.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.206, allocations: 47.94 kB / 1.23 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/1.206, allocations: 28 kB / 1.23 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.208, allocations: 1.009 MB / 1.231 GB, free: 5.086 MB / 0.92 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.01017/1.218, allocations: 6.324 MB / 1.237 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/1.219, allocations: 0.5721 MB / 1.238 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/1.22, allocations: 382.4 kB / 1.238 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/1.22, allocations: 0.507 MB / 1.239 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.22, allocations: 39.12 kB / 1.239 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001275/1.221, allocations: 226.9 kB / 1.239 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=58): time 2.956e-06/1.221, allocations: 0 / 1.239 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58): time 0.002178/1.224, allocations: 1.16 MB / 1.24 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.224, allocations: 63.97 kB / 1.24 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.226, allocations: 1.904 MB / 1.242 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/1.226, allocations: 41.7 kB / 1.242 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009631/1.227, allocations: 0.9145 MB / 1.243 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.227, allocations: 209.1 kB / 1.243 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000531/1.228, allocations: 298.5 kB / 1.243 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.228, allocations: 349.9 kB / 1.244 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008402/1.229, allocations: 453.9 kB / 1.244 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009942/1.23, allocations: 0.683 MB / 1.245 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/1.231, allocations: 0.9696 MB / 1.246 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.231, allocations: 4 kB / 1.246 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002595/1.234, allocations: 1.404 MB / 1.247 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.234, allocations: 8 kB / 1.247 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.234, allocations: 0 / 1.247 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.234, allocations: 12 kB / 1.247 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.235, allocations: 279.5 kB / 1.247 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.235, allocations: 11.98 kB / 1.248 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.237, allocations: 76.09 kB / 1.248 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.237, allocations: 67.92 kB / 1.248 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001325/1.238, allocations: 0.7056 MB / 1.248 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009847/1.239, allocations: 0.6644 MB / 1.249 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001404/1.241, allocations: 0.9188 MB / 1.25 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/1.241, allocations: 7.938 kB / 1.25 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002328/1.243, allocations: 1.35 MB / 1.251 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.243, allocations: 8 kB / 1.251 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.243, allocations: 4.375 kB / 1.251 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.243, allocations: 12 kB / 1.251 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.244, allocations: 275.5 kB / 1.251 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.244, allocations: 8 kB / 1.251 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.246, allocations: 87.91 kB / 1.252 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/1.246, allocations: 59.89 kB / 1.252 GB, free: 15.15 MB / 0.9512 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.0002973/1.246, allocations: 236 kB / 1.252 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.246, allocations: 201.4 kB / 1.252 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/1.249, allocations: 1.088 MB / 1.253 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.249, allocations: 15.98 kB / 1.253 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.249, allocations: 4 kB / 1.253 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.249, allocations: 7.922 kB / 1.253 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/1.253, allocations: 2.452 MB / 1.256 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.253, allocations: 0 / 1.256 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/1.253, allocations: 131.9 kB / 1.256 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.253, allocations: 7.938 kB / 1.256 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/1.253, allocations: 28.27 kB / 1.256 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.253, allocations: 4 kB / 1.256 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.253, allocations: 4 kB / 1.256 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/1.255, allocations: 1.07 MB / 1.257 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/1.256, allocations: 362.2 kB / 1.257 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/1.256, allocations: 16 kB / 1.257 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/1.257, allocations: 35.95 kB / 1.257 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.257, allocations: 56.58 kB / 1.257 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/1.257, allocations: 20 kB / 1.257 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001661/1.258, allocations: 1.256 MB / 1.258 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.258, allocations: 0 / 1.258 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002038/1.26, allocations: 0.8849 MB / 1.259 GB, free: 7.125 MB / 0.9512 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.000664/1.261, allocations: 351.8 kB / 1.26 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002731/1.264, allocations: 1.626 MB / 1.261 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.264, allocations: 0 / 1.261 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005877/1.265, allocations: 411.5 kB / 1.262 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/1.269, allocations: 1.083 MB / 1.263 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/1.273, allocations: 2.986 MB / 1.266 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009066/1.274, allocations: 1.409 MB / 1.267 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001713/1.276, allocations: 398.9 kB / 1.267 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/1.276, allocations: 167.4 kB / 1.268 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/1.276, allocations: 0 / 1.268 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of Templates: time 0.06268/1.339, allocations: 38.29 MB / 1.305 GB, free: 8.98 MB / 0.9981 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 -s gbode -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