Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirProperties.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.001775/0.001775, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001961/0.001961, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.429/1.429, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] 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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.88 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3046, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7845/1.089, allocations: 149.5 MB / 1.36 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004767/1.094, allocations: 3.632 MB / 1.364 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/1.094, allocations: 1.469 kB / 1.364 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003744/1.094, allocations: 70.09 kB / 1.364 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/1.095, allocations: 136.5 kB / 1.364 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/1.098, allocations: 1.027 MB / 1.365 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/1.098, allocations: 324.1 kB / 1.365 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/1.098, allocations: 8.453 kB / 1.365 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/1.099, allocations: 201.8 kB / 1.365 GB, free: 4.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/1.099, allocations: 138.2 kB / 1.366 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/1.099, allocations: 10.38 kB / 1.366 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/1.101, allocations: 1.29 MB / 1.367 GB, free: 4.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/1.101, allocations: 69.95 kB / 1.367 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/1.102, allocations: 109.8 kB / 1.367 GB, free: 4.191 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/1.103, allocations: 0.6405 MB / 1.368 GB, free: 3.984 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.103, allocations: 0 / 1.368 GB, free: 3.984 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.963e-06/1.103, allocations: 0 / 1.368 GB, free: 3.984 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.103, allocations: 1.281 kB / 1.368 GB, free: 3.984 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001216/1.104, allocations: 0.59 MB / 1.368 GB, free: 3.492 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.104, allocations: 9.438 kB / 1.368 GB, free: 3.492 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/1.105, allocations: 143.2 kB / 1.368 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/1.106, allocations: 219.3 kB / 1.369 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.106, allocations: 15.56 kB / 1.369 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/1.106, allocations: 24.67 kB / 1.369 GB, free: 3.223 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/1.106, allocations: 336 kB / 1.369 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.106, allocations: 1.281 kB / 1.369 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/1.106, allocations: 14.81 kB / 1.369 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/1.106, allocations: 15.12 kB / 1.369 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/1.107, allocations: 326.7 kB / 1.369 GB, free: 2.969 MB / 1.045 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.001688/1.109, allocations: 1.12 MB / 1.37 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/1.109, allocations: 172.6 kB / 1.37 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/1.109, allocations: 72.83 kB / 1.371 GB, free: 2.012 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/1.11, allocations: 472.3 kB / 1.371 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.11, allocations: 47.05 kB / 1.371 GB, free: 1.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/1.11, allocations: 0 / 1.371 GB, free: 1.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0006908/1.11, allocations: 259.5 kB / 1.371 GB, free: 1.383 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.111, allocations: 52.56 kB / 1.371 GB, free: 1.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/1.111, allocations: 207.4 kB / 1.372 GB, free: 1.188 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/1.111, allocations: 31.36 kB / 1.372 GB, free: 1.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.111, allocations: 144.2 kB / 1.372 GB, free: 1.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/1.111, allocations: 78.86 kB / 1.372 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/1.111, allocations: 59.53 kB / 1.372 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.111, allocations: 330.8 kB / 1.372 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/1.111, allocations: 70.47 kB / 1.372 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/1.112, allocations: 163.3 kB / 1.372 GB, free: 468 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/1.112, allocations: 244.2 kB / 1.373 GB, free: 300 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.112, allocations: 1.812 kB / 1.373 GB, free: 300 kB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005402/1.112, allocations: 295.2 kB / 1.373 GB, free: 184 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.112, allocations: 5.219 kB / 1.373 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.112, allocations: 4.156 kB / 1.373 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.112, allocations: 4.344 kB / 1.373 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/1.113, allocations: 58.66 kB / 1.373 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.113, allocations: 4.828 kB / 1.373 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/1.113, allocations: 39.22 kB / 1.373 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/1.113, allocations: 19.88 kB / 1.373 GB, free: 140 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001334/1.113, allocations: 132.2 kB / 1.373 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/1.113, allocations: 27.41 kB / 1.373 GB, free: 16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/1.114, allocations: 273.7 kB / 1.373 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.114, allocations: 6.25 kB / 1.373 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.114, allocations: 2.578 kB / 1.373 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.114, allocations: 0 / 1.373 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/1.115, allocations: 0.5913 MB / 1.374 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.115, allocations: 1.188 kB / 1.374 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.115, allocations: 34.59 kB / 1.374 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.115, allocations: 1.031 kB / 1.374 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.115, allocations: 6.656 kB / 1.374 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/1.115, allocations: 1.375 kB / 1.374 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.115, allocations: 3.406 kB / 1.374 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/1.115, allocations: 350.9 kB / 1.374 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.115, allocations: 124.8 kB / 1.375 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/1.116, allocations: 5.312 kB / 1.375 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/1.116, allocations: 12.3 kB / 1.375 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/1.116, allocations: 15.12 kB / 1.375 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/1.116, allocations: 19.47 kB / 1.375 GB, free: 15.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001446/1.116, allocations: 145.8 kB / 1.375 GB, free: 15.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.116, allocations: 1.094 kB / 1.375 GB, free: 15.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005837/1.117, allocations: 122 kB / 1.375 GB, free: 15 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * 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.0004745/1.117, allocations: 217.6 kB / 1.375 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000414/1.117, allocations: 190.4 kB / 1.375 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.117, allocations: 1.188 kB / 1.375 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/1.118, allocations: 98.7 kB / 1.375 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/1.118, allocations: 104.9 kB / 1.375 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/1.119, allocations: 496.2 kB / 1.376 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/1.12, allocations: 0.7361 MB / 1.377 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.12, allocations: 27.83 kB / 1.377 GB, free: 13.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.12, allocations: 0 / 1.377 GB, free: 13.77 MB / 1.061 GB Notification: Performance of Templates: time 0.007671/1.127, allocations: 4.384 MB / 1.381 GB, free: 12.07 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & ./Buildings_10_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.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: 12.034952602116391]