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.001159/0.001159, allocations: 108.7 kB / 16.41 MB, free: 6.477 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.001233/0.001233, allocations: 183 kB / 17.34 MB, free: 5.754 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.346/1.346, 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.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7112 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.89 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7391/0.7404, allocations: 151.6 MB / 1.167 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.156/0.8965, allocations: 154.4 MB / 1.318 GB, free: 9.004 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04379/0.9403, allocations: 30.4 MB / 1.348 GB, free: 10.53 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006478/0.9468, allocations: 139.1 kB / 1.348 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.9506, allocations: 1.055 MB / 1.349 GB, free: 9.332 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009713/0.9604, allocations: 3.324 MB / 1.352 GB, free: 5.996 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006507/0.9669, allocations: 2.513 MB / 1.355 GB, free: 3.516 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008141/0.975, allocations: 5.408 MB / 1.36 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004167/0.9792, allocations: 2.244 MB / 1.362 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006719/0.986, allocations: 2.751 MB / 1.365 GB, free: 9.035 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.9898, allocations: 1.961 MB / 1.367 GB, free: 7.066 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00085/0.9906, allocations: 216 kB / 1.367 GB, free: 6.855 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.9938, allocations: 1.088 MB / 1.368 GB, free: 5.766 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009828/0.9948, allocations: 0.5565 MB / 1.369 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.9975, allocations: 1.275 MB / 1.37 GB, free: 3.926 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005151/1.003, allocations: 3.319 MB / 1.373 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.003, allocations: 0 / 1.373 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/1.003, allocations: 0 / 1.373 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001053/1.003, allocations: 0 / 1.373 GB, free: 0.5977 MB / 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.006527/1.009, allocations: 2.795 MB / 1.376 GB, free: 13.74 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.009, allocations: 16.88 kB / 1.376 GB, free: 13.72 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006824/1.01, allocations: 256.9 kB / 1.376 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/1.013, allocations: 1.516 MB / 1.377 GB, free: 11.88 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/1.013, allocations: 106.3 kB / 1.378 GB, free: 11.77 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/1.013, allocations: 140 kB / 1.378 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/1.016, allocations: 1.159 MB / 1.379 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/1.016, allocations: 7.922 kB / 1.379 GB, free: 10.44 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.016, allocations: 52 kB / 1.379 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/1.016, allocations: 28 kB / 1.379 GB, free: 10.36 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/1.018, allocations: 1.013 MB / 1.38 GB, free: 9.344 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.01101/1.029, allocations: 6.308 MB / 1.386 GB, free: 2.566 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.03, allocations: 0.5709 MB / 1.387 GB, free: 1.988 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/1.031, allocations: 382.4 kB / 1.387 GB, free: 1.609 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/1.031, allocations: 0.507 MB / 1.387 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.031, allocations: 43.06 kB / 1.388 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001388/1.033, allocations: 234.8 kB / 1.388 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of pre-optimization done (n=58): time 6.722e-06/1.033, allocations: 0 / 1.388 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of matching and sorting (n=58): time 0.002429/1.035, allocations: 1.157 MB / 1.389 GB, free: 15.55 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/1.035, allocations: 59.91 kB / 1.389 GB, free: 15.48 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/1.038, allocations: 1.908 MB / 1.391 GB, free: 13.54 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.038, allocations: 49.7 kB / 1.391 GB, free: 13.49 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007944/1.039, allocations: 0.9224 MB / 1.392 GB, free: 12.55 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/1.039, allocations: 201 kB / 1.392 GB, free: 12.36 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/1.04, allocations: 294.6 kB / 1.392 GB, free: 12.06 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.04, allocations: 353.9 kB / 1.393 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/1.041, allocations: 449.9 kB / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.042, allocations: 0.6878 MB / 1.394 GB, free: 10.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/1.043, allocations: 0.9696 MB / 1.395 GB, free: 9.488 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.043, allocations: 0 / 1.395 GB, free: 9.488 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002683/1.046, allocations: 1.408 MB / 1.396 GB, free: 8.07 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.046, allocations: 12.36 kB / 1.396 GB, free: 8.059 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.046, allocations: 8 kB / 1.396 GB, free: 8.051 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.046, allocations: 8 kB / 1.396 GB, free: 8.043 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.047, allocations: 275.5 kB / 1.396 GB, free: 7.773 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/1.047, allocations: 15.94 kB / 1.396 GB, free: 7.758 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/1.049, allocations: 75.92 kB / 1.396 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.049, allocations: 59.95 kB / 1.396 GB, free: 7.625 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00132/1.05, allocations: 0.7134 MB / 1.397 GB, free: 6.906 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009905/1.051, allocations: 0.6567 MB / 1.398 GB, free: 6.176 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001489/1.053, allocations: 0.9149 MB / 1.399 GB, free: 5.219 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/1.053, allocations: 4 kB / 1.399 GB, free: 5.215 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00248/1.055, allocations: 1.353 MB / 1.4 GB, free: 3.852 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.055, allocations: 4 kB / 1.4 GB, free: 3.848 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.055, allocations: 4 kB / 1.4 GB, free: 3.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.055, allocations: 8 kB / 1.4 GB, free: 3.836 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.057, allocations: 275.5 kB / 1.4 GB, free: 3.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.057, allocations: 8.375 kB / 1.4 GB, free: 3.559 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/1.058, allocations: 99.83 kB / 1.4 GB, free: 3.461 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/1.058, allocations: 55.95 kB / 1.4 GB, free: 3.406 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.0003311/1.059, allocations: 242.2 kB / 1.401 GB, free: 3.164 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/1.059, allocations: 201.4 kB / 1.401 GB, free: 2.965 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/1.061, allocations: 1.098 MB / 1.402 GB, free: 1.863 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.061, allocations: 8 kB / 1.402 GB, free: 1.855 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.061, allocations: 3.938 kB / 1.402 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/1.061, allocations: 3.984 kB / 1.402 GB, free: 1.848 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/1.066, allocations: 2.441 MB / 1.404 GB, free: 15.33 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.066, allocations: 4 kB / 1.404 GB, free: 15.33 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/1.066, allocations: 139.8 kB / 1.404 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.066, allocations: 4 kB / 1.404 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/1.066, allocations: 16 kB / 1.404 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/1.066, allocations: 11.88 kB / 1.404 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.066, allocations: 0 / 1.404 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.068, allocations: 1.074 MB / 1.406 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007103/1.069, allocations: 362.3 kB / 1.406 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/1.069, allocations: 19.94 kB / 1.406 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/1.07, allocations: 31.97 kB / 1.406 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/1.07, allocations: 52.58 kB / 1.406 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/1.07, allocations: 20 kB / 1.406 GB, free: 13.55 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001819/1.072, allocations: 1.26 MB / 1.407 GB, free: 12.28 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.072, allocations: 0 / 1.407 GB, free: 12.28 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002295/1.074, allocations: 0.8925 MB / 1.408 GB, free: 11.38 MB / 1.139 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.0007163/1.075, allocations: 356.6 kB / 1.408 GB, free: 11.04 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002877/1.078, allocations: 1.611 MB / 1.41 GB, free: 9.438 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.078, allocations: 4.125 kB / 1.41 GB, free: 9.434 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/1.078, allocations: 415.5 kB / 1.41 GB, free: 9.027 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/1.083, allocations: 1.085 MB / 1.411 GB, free: 7.969 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/1.088, allocations: 3.042 MB / 1.414 GB, free: 4.871 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.089, allocations: 1.405 MB / 1.416 GB, free: 3.426 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/1.09, allocations: 167.4 kB / 1.416 GB, free: 3.262 MB / 1.139 GB Notification: Performance of SimCode: time 5.21e-07/1.09, allocations: 0 / 1.416 GB, free: 3.262 MB / 1.139 GB Notification: Performance of Templates: time 0.04692/1.137, allocations: 31.01 MB / 1.446 GB, free: 4.527 MB / 1.17 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