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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001283, allocations: 114.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 489.3 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 75.86 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01876/1.049, allocations: 15.5 MB / 1.278 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007789/1.057, allocations: 4.297 MB / 1.282 GB, free: 9.914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008072/1.058, allocations: 12.41 kB / 1.282 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/1.059, allocations: 270.3 kB / 1.282 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/1.061, allocations: 0.5975 MB / 1.283 GB, free: 9.402 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/1.063, allocations: 0.7057 MB / 1.283 GB, free: 9.059 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001793/1.065, allocations: 1.019 MB / 1.284 GB, free: 8.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/1.066, allocations: 332.3 kB / 1.285 GB, free: 8.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008896/1.067, allocations: 465 kB / 1.285 GB, free: 8.238 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/1.067, allocations: 311 kB / 1.286 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/1.067, allocations: 25.12 kB / 1.286 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/1.069, allocations: 0.622 MB / 1.286 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/1.069, allocations: 99.83 kB / 1.286 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002732/1.069, allocations: 225.3 kB / 1.286 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/1.07, allocations: 0.7601 MB / 1.287 GB, free: 7.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.07, allocations: 1.312 kB / 1.287 GB, free: 7.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/1.07, allocations: 0 / 1.287 GB, free: 7.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.037e-06/1.07, allocations: 0 / 1.287 GB, free: 7.43 MB / 1.014 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.00142/1.072, allocations: 0.8365 MB / 1.288 GB, free: 6.766 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.072, allocations: 13.83 kB / 1.288 GB, free: 6.762 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/1.072, allocations: 55.86 kB / 1.288 GB, free: 6.734 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/1.073, allocations: 432.4 kB / 1.288 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/1.073, allocations: 21.78 kB / 1.289 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/1.073, allocations: 28.91 kB / 1.289 GB, free: 6.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/1.073, allocations: 214.5 kB / 1.289 GB, free: 6.301 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.073, allocations: 0 / 1.289 GB, free: 6.301 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/1.073, allocations: 5.953 kB / 1.289 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.074, allocations: 9.297 kB / 1.289 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/1.074, allocations: 168 kB / 1.289 GB, free: 6.246 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/1.076, allocations: 0.9438 MB / 1.29 GB, free: 5.613 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/1.076, allocations: 132.2 kB / 1.29 GB, free: 5.555 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/1.076, allocations: 67.58 kB / 1.29 GB, free: 5.531 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/1.077, allocations: 339.8 kB / 1.29 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/1.077, allocations: 40.31 kB / 1.29 GB, free: 5.102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/1.077, allocations: 0 / 1.29 GB, free: 5.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0007004/1.077, allocations: 239.3 kB / 1.291 GB, free: 5.004 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.078, allocations: 52.47 kB / 1.291 GB, free: 4.941 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/1.078, allocations: 464.8 kB / 1.291 GB, free: 4.734 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/1.078, allocations: 31.86 kB / 1.291 GB, free: 4.699 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/1.078, allocations: 237.6 kB / 1.291 GB, free: 4.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/1.078, allocations: 41.73 kB / 1.291 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.079, allocations: 59.8 kB / 1.291 GB, free: 4.434 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.079, allocations: 358.2 kB / 1.292 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/1.079, allocations: 73.12 kB / 1.292 GB, free: 4.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/1.079, allocations: 150 kB / 1.292 GB, free: 3.973 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/1.08, allocations: 169.6 kB / 1.292 GB, free: 3.895 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.08, allocations: 0 / 1.292 GB, free: 3.895 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005601/1.08, allocations: 253.6 kB / 1.292 GB, free: 3.785 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.08, allocations: 7.656 kB / 1.292 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.08, allocations: 1.656 kB / 1.292 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.08, allocations: 1.094 kB / 1.292 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/1.081, allocations: 46.69 kB / 1.292 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.081, allocations: 2.562 kB / 1.292 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/1.081, allocations: 48.59 kB / 1.293 GB, free: 3.754 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/1.081, allocations: 12.56 kB / 1.293 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003187/1.081, allocations: 195.2 kB / 1.293 GB, free: 3.629 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002757/1.082, allocations: 151.8 kB / 1.293 GB, free: 3.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003659/1.082, allocations: 176.7 kB / 1.293 GB, free: 3.426 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/1.082, allocations: 1.375 kB / 1.293 GB, free: 3.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005385/1.082, allocations: 249.4 kB / 1.293 GB, free: 3.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/1.082, allocations: 5.25 kB / 1.293 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/1.083, allocations: 5.219 kB / 1.293 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/1.083, allocations: 3.328 kB / 1.293 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/1.083, allocations: 50.3 kB / 1.293 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/1.083, allocations: 2.203 kB / 1.293 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/1.083, allocations: 30.7 kB / 1.293 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/1.083, allocations: 9.25 kB / 1.293 GB, free: 3.301 MB / 1.014 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.0001514/1.083, allocations: 202.1 kB / 1.294 GB, free: 3.102 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/1.083, allocations: 43.02 kB / 1.294 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/1.084, allocations: 245.4 kB / 1.294 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.084, allocations: 6.25 kB / 1.294 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.084, allocations: 0.5625 kB / 1.294 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.084, allocations: 0.6094 kB / 1.294 GB, free: 2.969 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/1.085, allocations: 0.7099 MB / 1.295 GB, free: 2.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.085, allocations: 5.469 kB / 1.295 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.085, allocations: 31.42 kB / 1.295 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.085, allocations: 2.469 kB / 1.295 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.085, allocations: 12.3 kB / 1.295 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.085, allocations: 9.828 kB / 1.295 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.085, allocations: 1.344 kB / 1.295 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/1.086, allocations: 348.4 kB / 1.295 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/1.086, allocations: 138.6 kB / 1.295 GB, free: 2.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/1.086, allocations: 7.188 kB / 1.295 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/1.086, allocations: 14.89 kB / 1.295 GB, free: 2.082 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/1.086, allocations: 15.39 kB / 1.295 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/1.086, allocations: 5.812 kB / 1.295 GB, free: 2.078 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004543/1.087, allocations: 324.6 kB / 1.295 GB, free: 1.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.087, allocations: 0 / 1.295 GB, free: 1.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009614/1.088, allocations: 204.2 kB / 1.296 GB, free: 1.883 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001728/1.09, allocations: 482.3 kB / 1.296 GB, free: 1.672 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007336/1.09, allocations: 270.9 kB / 1.296 GB, free: 1.602 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.09, allocations: 0 / 1.296 GB, free: 1.602 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/1.091, allocations: 85.27 kB / 1.296 GB, free: 1.578 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/1.092, allocations: 196.1 kB / 1.297 GB, free: 1.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.093, allocations: 0.7299 MB / 1.297 GB, free: 1.062 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/1.094, allocations: 0.8228 MB / 1.298 GB, free: 364 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/1.094, allocations: 44.14 kB / 1.298 GB, free: 348 kB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.094, allocations: 1.094 kB / 1.298 GB, free: 348 kB / 1.014 GB Notification: Performance of Templates: time 0.01425/1.108, allocations: 7.307 MB / 1.305 GB, free: 15.46 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.297883078921586]