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.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 196 kB / 16.53 MB, free: 6.391 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.546/1.546, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.836/2.836, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.925/0.9264, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1733/1.1, allocations: 154.4 MB / 1.168 GB, free: 7.555 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.05693/1.157, allocations: 30.4 MB / 1.198 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007396/1.164, allocations: 143.1 kB / 1.198 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003755/1.168, allocations: 1.044 MB / 1.199 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009454/1.177, allocations: 3.158 MB / 1.202 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/1.184, allocations: 2.476 MB / 1.204 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00773/1.192, allocations: 5.369 MB / 1.21 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/1.195, allocations: 2.232 MB / 1.212 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005975/1.201, allocations: 2.681 MB / 1.214 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/1.205, allocations: 1.965 MB / 1.216 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005512/1.205, allocations: 212 kB / 1.217 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/1.208, allocations: 1.088 MB / 1.218 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007917/1.209, allocations: 0.5642 MB / 1.218 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/1.211, allocations: 1.271 MB / 1.219 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004725/1.216, allocations: 3.275 MB / 1.223 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.216, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/1.216, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.464e-05/1.216, allocations: 0 / 1.223 GB, free: 15.52 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.005349/1.221, allocations: 2.783 MB / 1.225 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.221, allocations: 15.98 kB / 1.225 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/1.222, allocations: 264.8 kB / 1.226 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/1.224, allocations: 1.453 MB / 1.227 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/1.224, allocations: 102.3 kB / 1.227 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/1.225, allocations: 136 kB / 1.227 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/1.227, allocations: 1.167 MB / 1.228 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/1.227, allocations: 3.938 kB / 1.228 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.227, allocations: 44 kB / 1.228 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/1.227, allocations: 31.98 kB / 1.228 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/1.229, allocations: 1.016 MB / 1.229 GB, free: 8.336 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.01077/1.24, allocations: 6.363 MB / 1.236 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/1.241, allocations: 0.5719 MB / 1.236 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/1.241, allocations: 378.4 kB / 1.237 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/1.242, allocations: 0.507 MB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.242, allocations: 43.06 kB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001491/1.243, allocations: 226.9 kB / 1.237 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 4.288e-06/1.243, allocations: 0 / 1.237 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002359/1.246, allocations: 1.164 MB / 1.238 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/1.246, allocations: 55.97 kB / 1.239 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/1.248, allocations: 1.9 MB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.248, allocations: 53.7 kB / 1.24 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007848/1.249, allocations: 0.9222 MB / 1.241 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/1.249, allocations: 201.1 kB / 1.242 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/1.25, allocations: 298.5 kB / 1.242 GB, free: 11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.25, allocations: 345.9 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000857/1.251, allocations: 449.9 kB / 1.243 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.252, allocations: 0.6918 MB / 1.243 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/1.254, allocations: 0.9774 MB / 1.244 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.254, allocations: 0 / 1.244 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002513/1.256, allocations: 1.408 MB / 1.246 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.256, allocations: 9.094 kB / 1.246 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.256, allocations: 4 kB / 1.246 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.256, allocations: 8 kB / 1.246 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.257, allocations: 279.5 kB / 1.246 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/1.257, allocations: 15.92 kB / 1.246 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.259, allocations: 75.88 kB / 1.246 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.259, allocations: 63.94 kB / 1.246 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001377/1.26, allocations: 0.7056 MB / 1.247 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/1.261, allocations: 0.6606 MB / 1.247 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/1.263, allocations: 0.9188 MB / 1.248 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/1.263, allocations: 0 / 1.248 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002597/1.265, allocations: 1.35 MB / 1.25 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.265, allocations: 8 kB / 1.25 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.265, allocations: 0 / 1.25 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/1.266, allocations: 8 kB / 1.25 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.267, allocations: 275.9 kB / 1.25 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.267, allocations: 15.98 kB / 1.25 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.268, allocations: 95.83 kB / 1.25 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.269, allocations: 55.95 kB / 1.25 GB, free: 2.348 MB / 0.9981 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.0003827/1.269, allocations: 236 kB / 1.25 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.269, allocations: 201.4 kB / 1.25 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/1.272, allocations: 1.088 MB / 1.251 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/1.272, allocations: 11.98 kB / 1.251 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.272, allocations: 3.938 kB / 1.251 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.272, allocations: 11.92 kB / 1.251 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5688/1.84, allocations: 2.436 MB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.841, allocations: 6.859 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007617/1.841, allocations: 134.1 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/1.841, allocations: 4.281 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/1.841, allocations: 22.17 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/1.841, allocations: 7.188 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.841, allocations: 5.219 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/1.844, allocations: 1.07 MB / 1.255 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.845, allocations: 358.9 kB / 1.255 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/1.846, allocations: 13.42 kB / 1.255 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/1.847, allocations: 42.12 kB / 1.255 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.847, allocations: 46.52 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/1.847, allocations: 26.67 kB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003029/1.85, allocations: 1.253 MB / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.41e-07/1.85, allocations: 0 / 1.257 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004927/1.855, allocations: 0.8852 MB / 1.258 GB, free: 229.3 MB / 0.9981 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.001169/1.856, allocations: 353.3 kB / 1.258 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004931/1.861, allocations: 1.667 MB / 1.26 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.861, allocations: 0.6875 kB / 1.26 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008581/1.862, allocations: 411.1 kB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/1.868, allocations: 1.091 MB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006669/1.875, allocations: 3.049 MB / 1.264 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.876, allocations: 1.406 MB / 1.265 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00268/1.879, allocations: 398.2 kB / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005146/1.88, allocations: 168.1 kB / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/1.88, allocations: 0 / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of Templates: time 0.06458/1.944, allocations: 38.34 MB / 1.303 GB, free: 199.6 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 -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/jenkins/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