Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001995/0.001995, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.564/1.564, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 469.4 MB / 0.7428 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 72.06 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8677, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01909/0.8868, allocations: 15.53 MB / 1.236 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007095/0.8939, allocations: 4.338 MB / 1.24 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006615/0.8946, allocations: 15.88 kB / 1.24 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.8957, allocations: 266.4 kB / 1.241 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.8974, allocations: 0.6289 MB / 1.241 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.8996, allocations: 0.7243 MB / 1.242 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002131/0.9017, allocations: 1.025 MB / 1.243 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007255/0.9025, allocations: 339.6 kB / 1.243 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.9037, allocations: 426.4 kB / 1.244 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.9042, allocations: 318.5 kB / 1.244 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.9043, allocations: 28 kB / 1.244 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.9057, allocations: 0.6395 MB / 1.245 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.9058, allocations: 99.55 kB / 1.245 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.9061, allocations: 218.8 kB / 1.245 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.9072, allocations: 0.7651 MB / 1.246 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.9073, allocations: 0 / 1.246 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9073, allocations: 0 / 1.246 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.9073, allocations: 0 / 1.246 GB, free: 8.93 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001218/0.9085, allocations: 0.8368 MB / 1.246 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.9086, allocations: 12.03 kB / 1.246 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.9087, allocations: 48.38 kB / 1.246 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.9094, allocations: 441.4 kB / 1.247 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.9094, allocations: 20.44 kB / 1.247 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.9095, allocations: 27.94 kB / 1.247 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.9099, allocations: 211.2 kB / 1.247 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.9099, allocations: 0 / 1.247 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.9099, allocations: 11.98 kB / 1.247 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.91, allocations: 7.938 kB / 1.247 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.9104, allocations: 173.6 kB / 1.247 GB, free: 7.066 MB / 0.9669 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.001555/0.9119, allocations: 0.9384 MB / 1.248 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.9122, allocations: 134.5 kB / 1.248 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.9124, allocations: 75.69 kB / 1.248 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.9127, allocations: 340.5 kB / 1.249 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.9127, allocations: 30.56 kB / 1.249 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.9127, allocations: 0 / 1.249 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0006392/0.9134, allocations: 245 kB / 1.249 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.9134, allocations: 55.41 kB / 1.249 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.9139, allocations: 474 kB / 1.25 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.914, allocations: 37.7 kB / 1.25 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.9142, allocations: 232.6 kB / 1.25 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.9142, allocations: 39.36 kB / 1.25 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-05/0.9143, allocations: 61.59 kB / 1.25 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.9145, allocations: 358.7 kB / 1.25 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.9146, allocations: 68.81 kB / 1.25 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.9149, allocations: 151.7 kB / 1.25 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.9153, allocations: 168.3 kB / 1.251 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9153, allocations: 4 kB / 1.251 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005055/0.9158, allocations: 255 kB / 1.251 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9158, allocations: 4 kB / 1.251 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9158, allocations: 4 kB / 1.251 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9159, allocations: 96 / 1.251 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.9161, allocations: 51.89 kB / 1.251 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9161, allocations: 0 / 1.251 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.9164, allocations: 43.67 kB / 1.251 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.9165, allocations: 15.98 kB / 1.251 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002757/0.9168, allocations: 188.1 kB / 1.251 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002358/0.917, allocations: 155.1 kB / 1.251 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003188/0.9173, allocations: 168.2 kB / 1.251 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.9173, allocations: 7.875 kB / 1.251 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004928/0.9178, allocations: 252.7 kB / 1.252 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.9179, allocations: 4 kB / 1.252 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.9179, allocations: 4 kB / 1.252 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-06/0.9179, allocations: 0 / 1.252 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.9181, allocations: 51.91 kB / 1.252 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.9181, allocations: 4 kB / 1.252 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.9184, allocations: 31.88 kB / 1.252 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.9185, allocations: 12.17 kB / 1.252 GB, free: 2.16 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001163/0.9186, allocations: 208.1 kB / 1.252 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.9187, allocations: 47.38 kB / 1.252 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.9192, allocations: 241.2 kB / 1.252 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.9192, allocations: 3.984 kB / 1.252 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.9192, allocations: 0 / 1.252 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.9194, allocations: 136.5 kB / 1.252 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.9194, allocations: 4 kB / 1.252 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.9196, allocations: 19.91 kB / 1.252 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.9197, allocations: 15.92 kB / 1.252 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000456/0.9202, allocations: 271 kB / 1.253 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004703/0.9206, allocations: 398.1 kB / 1.253 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001665/0.9208, allocations: 75.88 kB / 1.253 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003397/0.9212, allocations: 334.9 kB / 1.254 GB, free: 404 kB / 0.9669 GB Notification: Performance of Backend: time 4.01e-07/0.9212, allocations: 0 / 1.254 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.9235, allocations: 0.7994 MB / 1.254 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of SimCode: time 0.00176/0.9253, allocations: 1.258 MB / 1.256 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.01806/0.9434, allocations: 9.8 MB / 1.265 GB, free: 4.797 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches