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.001622/0.001622, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00156/0.00156, allocations: 194.7 kB / 16.14 MB, free: 6.633 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.804/2.804, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8518/0.8538, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1694/1.023, allocations: 153.4 MB / 1.166 GB, free: 8.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04464/1.068, allocations: 30.47 MB / 1.196 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006152/1.074, allocations: 131.1 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004044/1.078, allocations: 0.8194 MB / 1.197 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009743/1.088, allocations: 2.904 MB / 1.2 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006763/1.095, allocations: 2.277 MB / 1.202 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009646/1.104, allocations: 7.401 MB / 1.209 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/1.108, allocations: 1.896 MB / 1.211 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005935/1.114, allocations: 2.427 MB / 1.214 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/1.118, allocations: 1.98 MB / 1.216 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000645/1.119, allocations: 120 kB / 1.216 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/1.121, allocations: 0.9632 MB / 1.217 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007479/1.122, allocations: 481.8 kB / 1.217 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002064/1.124, allocations: 1.173 MB / 1.218 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004065/1.128, allocations: 3.2 MB / 1.221 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.128, allocations: 3.938 kB / 1.221 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/1.128, allocations: 0 / 1.221 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.849e-05/1.128, allocations: 4 kB / 1.221 GB, free: 0.5547 MB / 0.9669 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.005468/1.134, allocations: 2.787 MB / 1.224 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.134, allocations: 11.98 kB / 1.224 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/1.135, allocations: 264.8 kB / 1.224 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/1.137, allocations: 1.446 MB / 1.226 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.137, allocations: 106.3 kB / 1.226 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/1.138, allocations: 140 kB / 1.226 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/1.14, allocations: 1.159 MB / 1.227 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/1.14, allocations: 3.938 kB / 1.227 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.14, allocations: 44 kB / 1.227 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/1.14, allocations: 28 kB / 1.227 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/1.142, allocations: 1.016 MB / 1.228 GB, free: 9.383 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.01218/1.154, allocations: 6.308 MB / 1.234 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/1.156, allocations: 0.5762 MB / 1.235 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/1.156, allocations: 382.2 kB / 1.235 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/1.157, allocations: 0.507 MB / 1.236 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/1.157, allocations: 39.12 kB / 1.236 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001924/1.159, allocations: 334.7 kB / 1.236 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=58): time 3.487e-06/1.159, allocations: 0 / 1.236 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=58): time 0.002697/1.162, allocations: 1.117 MB / 1.237 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.162, allocations: 59.97 kB / 1.237 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/1.165, allocations: 1.912 MB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/1.165, allocations: 41.7 kB / 1.239 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009577/1.166, allocations: 0.9146 MB / 1.24 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/1.166, allocations: 209 kB / 1.24 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005134/1.167, allocations: 294.6 kB / 1.241 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.167, allocations: 345.9 kB / 1.241 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/1.168, allocations: 441.9 kB / 1.241 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.169, allocations: 0.6645 MB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/1.171, allocations: 0.95 MB / 1.243 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.171, allocations: 0 / 1.243 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003759/1.175, allocations: 1.381 MB / 1.244 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/1.175, allocations: 14.44 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.175, allocations: 8 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.175, allocations: 8 kB / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.177, allocations: 271.6 kB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/1.177, allocations: 19.92 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/1.179, allocations: 135.9 kB / 1.245 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.179, allocations: 59.95 kB / 1.245 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001708/1.181, allocations: 0.7016 MB / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001178/1.182, allocations: 0.6372 MB / 1.246 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001703/1.184, allocations: 0.8954 MB / 1.247 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.184, allocations: 0 / 1.247 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002958/1.187, allocations: 1.322 MB / 1.248 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.187, allocations: 4 kB / 1.248 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.187, allocations: 4 kB / 1.248 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.187, allocations: 8 kB / 1.248 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.188, allocations: 271.9 kB / 1.248 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.188, allocations: 12 kB / 1.248 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.19, allocations: 155.7 kB / 1.249 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.19, allocations: 55.95 kB / 1.249 GB, free: 3.445 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.000363/1.19, allocations: 245.7 kB / 1.249 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/1.191, allocations: 209.3 kB / 1.249 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/1.193, allocations: 1.064 MB / 1.25 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.193, allocations: 8 kB / 1.25 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.193, allocations: 7.922 kB / 1.25 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.193, allocations: 0 / 1.25 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.596/1.789, allocations: 2.41 MB / 1.252 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.789, allocations: 2 kB / 1.252 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009756/1.79, allocations: 131.4 kB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/1.79, allocations: 4.5 kB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/1.79, allocations: 16.62 kB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/1.79, allocations: 7.734 kB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.79, allocations: 4.344 kB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/1.793, allocations: 1.052 MB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009951/1.794, allocations: 356.2 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/1.794, allocations: 21.03 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.796, allocations: 101.9 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/1.796, allocations: 54.39 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/1.796, allocations: 28.83 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003111/1.799, allocations: 1.257 MB / 1.255 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.799, allocations: 0 / 1.255 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003297/1.802, allocations: 0.8835 MB / 1.256 GB, free: 229.9 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.0007266/1.803, allocations: 343.5 kB / 1.257 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003097/1.806, allocations: 1.562 MB / 1.258 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.806, allocations: 5.297 kB / 1.258 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/1.807, allocations: 400.6 kB / 1.259 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/1.813, allocations: 1.135 MB / 1.26 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/1.819, allocations: 3.699 MB / 1.263 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.82, allocations: 1.407 MB / 1.265 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002457/1.823, allocations: 402.8 kB / 1.265 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/1.823, allocations: 161.9 kB / 1.265 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.493e-06/1.823, allocations: 3.875 kB / 1.265 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05608/1.879, allocations: 37.23 MB / 1.302 GB, free: 201.1 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=400 -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