Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001496/0.001496, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001544/0.001544, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.86 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9535/0.9549, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1595/1.114, allocations: 154.4 MB / 1.359 GB, free: 2.727 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04846/1.163, allocations: 30.4 MB / 1.389 GB, free: 4.25 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009598/1.173, allocations: 143.1 kB / 1.389 GB, free: 4.109 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003947/1.177, allocations: 1.051 MB / 1.39 GB, free: 3.051 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/1.188, allocations: 3.323 MB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.008453/1.197, allocations: 2.512 MB / 1.396 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01004/1.207, allocations: 5.411 MB / 1.401 GB, free: 7.809 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004348/1.211, allocations: 2.232 MB / 1.403 GB, free: 5.531 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006839/1.218, allocations: 2.766 MB / 1.406 GB, free: 2.754 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004109/1.222, allocations: 1.961 MB / 1.408 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009218/1.223, allocations: 216 kB / 1.408 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/1.228, allocations: 1.092 MB / 1.409 GB, free: 15.48 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/1.229, allocations: 0.5565 MB / 1.41 GB, free: 14.92 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/1.231, allocations: 1.263 MB / 1.411 GB, free: 13.65 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004911/1.236, allocations: 3.323 MB / 1.414 GB, free: 10.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.236, allocations: 0 / 1.414 GB, free: 10.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.354e-06/1.236, allocations: 0 / 1.414 GB, free: 10.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.799e-05/1.236, allocations: 0 / 1.414 GB, free: 10.32 MB / 1.139 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.005412/1.242, allocations: 2.796 MB / 1.417 GB, free: 7.461 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.242, allocations: 8.031 kB / 1.417 GB, free: 7.453 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/1.242, allocations: 260.9 kB / 1.417 GB, free: 7.195 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/1.245, allocations: 1.523 MB / 1.419 GB, free: 5.598 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/1.245, allocations: 102.3 kB / 1.419 GB, free: 5.496 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/1.245, allocations: 140 kB / 1.419 GB, free: 5.359 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/1.248, allocations: 1.159 MB / 1.42 GB, free: 4.172 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.248, allocations: 0 / 1.42 GB, free: 4.172 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.248, allocations: 48 kB / 1.42 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/1.248, allocations: 32 kB / 1.42 GB, free: 4.094 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.25, allocations: 1.016 MB / 1.421 GB, free: 3.07 MB / 1.139 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.01091/1.261, allocations: 6.32 MB / 1.427 GB, free: 12.28 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000973/1.262, allocations: 0.5675 MB / 1.428 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/1.262, allocations: 380.8 kB / 1.428 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005186/1.263, allocations: 0.4992 MB / 1.429 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.263, allocations: 43.12 kB / 1.429 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001403/1.264, allocations: 238.8 kB / 1.429 GB, free: 10.44 MB / 1.154 GB Notification: Performance of pre-optimization done (n=58): time 4.708e-06/1.264, allocations: 0 / 1.429 GB, free: 10.44 MB / 1.154 GB Notification: Performance of matching and sorting (n=58): time 0.002382/1.267, allocations: 1.164 MB / 1.43 GB, free: 9.266 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.267, allocations: 63.91 kB / 1.43 GB, free: 9.191 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/1.269, allocations: 1.904 MB / 1.432 GB, free: 7.262 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.27, allocations: 45.7 kB / 1.432 GB, free: 7.211 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/1.27, allocations: 0.9224 MB / 1.433 GB, free: 6.277 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/1.27, allocations: 201 kB / 1.433 GB, free: 6.078 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004388/1.271, allocations: 298.6 kB / 1.433 GB, free: 5.781 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.271, allocations: 341.9 kB / 1.434 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008076/1.272, allocations: 457.8 kB / 1.434 GB, free: 4.992 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.273, allocations: 0.6878 MB / 1.435 GB, free: 4.223 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.275, allocations: 0.9734 MB / 1.436 GB, free: 3.207 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/1.275, allocations: 4 kB / 1.436 GB, free: 3.203 MB / 1.154 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002656/1.277, allocations: 1.404 MB / 1.437 GB, free: 1.789 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.277, allocations: 4 kB / 1.437 GB, free: 1.785 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.277, allocations: 4.375 kB / 1.437 GB, free: 1.781 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.277, allocations: 12 kB / 1.437 GB, free: 1.77 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.279, allocations: 279.6 kB / 1.437 GB, free: 1.496 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/1.279, allocations: 15.88 kB / 1.437 GB, free: 1.48 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.28, allocations: 71.92 kB / 1.437 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.28, allocations: 67.92 kB / 1.438 GB, free: 1.344 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001359/1.282, allocations: 0.7056 MB / 1.438 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009766/1.283, allocations: 0.6606 MB / 1.439 GB, free: 15.9 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001559/1.284, allocations: 0.9188 MB / 1.44 GB, free: 14.94 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/1.284, allocations: 0 / 1.44 GB, free: 14.94 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002477/1.287, allocations: 1.35 MB / 1.441 GB, free: 13.58 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.287, allocations: 8 kB / 1.441 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.287, allocations: 0 / 1.441 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/1.287, allocations: 8 kB / 1.441 GB, free: 13.56 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.288, allocations: 271.6 kB / 1.441 GB, free: 13.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.288, allocations: 15.92 kB / 1.441 GB, free: 13.28 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.29, allocations: 96.14 kB / 1.441 GB, free: 13.19 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.29, allocations: 63.94 kB / 1.442 GB, free: 13.12 MB / 1.17 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.000343/1.29, allocations: 236 kB / 1.442 GB, free: 12.89 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/1.291, allocations: 197.5 kB / 1.442 GB, free: 12.69 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/1.293, allocations: 1.095 MB / 1.443 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.293, allocations: 7.984 kB / 1.443 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.293, allocations: 0 / 1.443 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/1.294, allocations: 362.3 kB / 1.443 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/1.294, allocations: 8 kB / 1.443 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/1.295, allocations: 35.97 kB / 1.443 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.295, allocations: 48.58 kB / 1.443 GB, free: 11.11 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001771/1.297, allocations: 0.8836 MB / 1.444 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001585/1.299, allocations: 1.123 MB / 1.445 GB, free: 9.078 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005557/1.299, allocations: 389 kB / 1.446 GB, free: 8.703 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002116/1.301, allocations: 1.256 MB / 1.447 GB, free: 7.434 MB / 1.17 GB Notification: Performance of Backend: time 3.7e-07/1.301, allocations: 0 / 1.447 GB, free: 7.434 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004356/1.306, allocations: 1.67 MB / 1.449 GB, free: 5.773 MB / 1.17 GB Notification: Performance of SimCode: time 0.00763/1.313, allocations: 4.116 MB / 1.453 GB, free: 1.621 MB / 1.17 GB Notification: Performance of Templates: time 0.0772/1.391, allocations: 41.67 MB / 1.493 GB, free: 8.473 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches