Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 110.4 kB / 16.42 MB, free: 6.457 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.001729/0.001728, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.51/1.51, allocations: 222.9 MB / 241 MB, free: 15.07 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.609/2.609, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9911/0.993, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01925/1.012, allocations: 17.45 MB / 1.184 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008426/1.021, allocations: 4.913 MB / 1.189 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/1.022, allocations: 15.88 kB / 1.189 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/1.023, allocations: 254.4 kB / 1.189 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/1.025, allocations: 0.6452 MB / 1.19 GB, free: 12.44 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/1.028, allocations: 0.737 MB / 1.191 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001696/1.03, allocations: 0.9625 MB / 1.192 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007164/1.03, allocations: 344.7 kB / 1.192 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/1.031, allocations: 426.3 kB / 1.192 GB, free: 9.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/1.032, allocations: 310.6 kB / 1.193 GB, free: 9.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/1.032, allocations: 32 kB / 1.193 GB, free: 9.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/1.034, allocations: 0.7331 MB / 1.193 GB, free: 8.914 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/1.034, allocations: 131.5 kB / 1.194 GB, free: 8.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005642/1.035, allocations: 246.6 kB / 1.194 GB, free: 8.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/1.038, allocations: 0.8742 MB / 1.195 GB, free: 7.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.038, allocations: 0 / 1.195 GB, free: 7.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.777e-06/1.038, allocations: 3.984 kB / 1.195 GB, free: 7.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.561e-05/1.038, allocations: 0 / 1.195 GB, free: 7.664 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002559/1.04, allocations: 0.8836 MB / 1.196 GB, free: 6.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.04, allocations: 8.922 kB / 1.196 GB, free: 6.723 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/1.041, allocations: 56.28 kB / 1.196 GB, free: 6.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/1.042, allocations: 469.6 kB / 1.196 GB, free: 6.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/1.042, allocations: 24.5 kB / 1.196 GB, free: 6.148 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/1.042, allocations: 32 kB / 1.196 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/1.043, allocations: 278.2 kB / 1.196 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/1.043, allocations: 0 / 1.196 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/1.043, allocations: 12 kB / 1.196 GB, free: 5.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.043, allocations: 8 kB / 1.196 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/1.044, allocations: 190.1 kB / 1.197 GB, free: 5.621 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.003006/1.047, allocations: 1.472 MB / 1.198 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/1.047, allocations: 158.8 kB / 1.198 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/1.048, allocations: 92.7 kB / 1.198 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002573/1.05, allocations: 1.276 MB / 1.2 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.736e-05/1.05, allocations: 46.5 kB / 1.2 GB, free: 2.262 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/1.05, allocations: 0 / 1.2 GB, free: 2.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.001169/1.051, allocations: 245.1 kB / 1.2 GB, free: 2.016 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/1.051, allocations: 59.41 kB / 1.2 GB, free: 1.945 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/1.053, allocations: 0.5809 MB / 1.2 GB, free: 1.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/1.053, allocations: 29.7 kB / 1.2 GB, free: 1.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/1.053, allocations: 272.1 kB / 1.201 GB, free: 1.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.053, allocations: 51.2 kB / 1.201 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/1.053, allocations: 69.97 kB / 1.201 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002167/1.054, allocations: 362.8 kB / 1.201 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/1.054, allocations: 81.94 kB / 1.201 GB, free: 488 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/1.054, allocations: 211.2 kB / 1.201 GB, free: 228 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/1.055, allocations: 231.8 kB / 1.202 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.055, allocations: 4 kB / 1.202 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009156/1.056, allocations: 316.8 kB / 1.202 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.056, allocations: 7.938 kB / 1.202 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.056, allocations: 4 kB / 1.202 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/1.056, allocations: 4 kB / 1.202 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/1.056, allocations: 63.91 kB / 1.202 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/1.057, allocations: 7.984 kB / 1.202 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/1.057, allocations: 39.77 kB / 1.202 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/1.057, allocations: 20.06 kB / 1.202 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004768/1.058, allocations: 223.7 kB / 1.202 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004001/1.058, allocations: 209.5 kB / 1.203 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005839/1.059, allocations: 223.1 kB / 1.203 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/1.059, allocations: 0 / 1.203 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009069/1.06, allocations: 312.8 kB / 1.203 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.06, allocations: 4 kB / 1.203 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.06, allocations: 4.188 kB / 1.203 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.06, allocations: 7.938 kB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/1.06, allocations: 63.91 kB / 1.203 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.06, allocations: 4 kB / 1.203 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/1.061, allocations: 39.8 kB / 1.203 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/1.061, allocations: 20.12 kB / 1.203 GB, free: 14.32 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001993/1.061, allocations: 204 kB / 1.203 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.061, allocations: 55.28 kB / 1.203 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008544/1.062, allocations: 251.6 kB / 1.204 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.062, allocations: 4 kB / 1.204 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.062, allocations: 0 / 1.204 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.062, allocations: 148.3 kB / 1.204 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/1.062, allocations: 8 kB / 1.204 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/1.063, allocations: 11.98 kB / 1.204 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/1.063, allocations: 11.98 kB / 1.204 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006951/1.063, allocations: 276.8 kB / 1.204 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007051/1.064, allocations: 415.9 kB / 1.204 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002351/1.064, allocations: 74.45 kB / 1.205 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006662/1.065, allocations: 418.8 kB / 1.205 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Backend: time 8.21e-07/1.065, allocations: 0 / 1.205 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00392/1.069, allocations: 0.8941 MB / 1.206 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003244/1.072, allocations: 1.395 MB / 1.207 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.02683/1.099, allocations: 11.9 MB / 1.219 GB, free: 14.49 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches