Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 84.05 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 168.1 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.979/2.979, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 3.938 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.522e-05, allocations: 5.797 kB / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.007/1.007, allocations: 232.7 MB / 1.227 GB, free: 29.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02443/1.031, allocations: 17.49 MB / 1.244 GB, free: 18.67 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/1.034, allocations: 67.16 kB / 1.245 GB, free: 18.67 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002754/1.037, allocations: 0.7488 MB / 1.245 GB, free: 18.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007035/1.044, allocations: 1.914 MB / 1.247 GB, free: 17.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/1.05, allocations: 1.578 MB / 1.249 GB, free: 16.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005615/1.055, allocations: 3.011 MB / 1.252 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/1.057, allocations: 0.8785 MB / 1.252 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/1.069, allocations: 3.821 MB / 1.256 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/1.072, allocations: 0.8611 MB / 1.257 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/1.072, allocations: 101.7 kB / 1.257 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/1.075, allocations: 1.255 MB / 1.258 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/1.076, allocations: 458.4 kB / 1.259 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008453/1.077, allocations: 0.4963 MB / 1.259 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003645/1.08, allocations: 2.067 MB / 1.261 GB, free: 11.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/1.08, allocations: 0 / 1.261 GB, free: 11.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/1.08, allocations: 1.281 kB / 1.261 GB, free: 11.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.08, allocations: 4 kB / 1.261 GB, free: 11.5 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002252/1.082, allocations: 1.552 MB / 1.263 GB, free: 10.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.083, allocations: 12.3 kB / 1.263 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/1.084, allocations: 295.1 kB / 1.263 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/1.085, allocations: 0.8121 MB / 1.264 GB, free: 9.891 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/1.085, allocations: 72.5 kB / 1.264 GB, free: 9.855 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.086, allocations: 92.62 kB / 1.264 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.087, allocations: 0.9998 MB / 1.265 GB, free: 9.332 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/1.087, allocations: 4.219 kB / 1.265 GB, free: 9.332 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/1.087, allocations: 41.59 kB / 1.265 GB, free: 9.301 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/1.087, allocations: 22.91 kB / 1.265 GB, free: 9.301 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009641/1.088, allocations: 0.6495 MB / 1.266 GB, free: 9.082 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/1.091, allocations: 3.377 MB / 1.269 GB, free: 6.668 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/1.092, allocations: 246.1 kB / 1.269 GB, free: 6.566 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/1.092, allocations: 120.5 kB / 1.269 GB, free: 6.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/1.092, allocations: 82.5 kB / 1.269 GB, free: 6.512 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/1.092, allocations: 34.56 kB / 1.269 GB, free: 6.469 MB / 1.076 GB Notification: Performance of pre-optimization done (n=29): time 2.334e-06/1.092, allocations: 0 / 1.269 GB, free: 6.469 MB / 1.076 GB Notification: Performance of matching and sorting (n=29): time 0.0009223/1.093, allocations: 461 kB / 1.27 GB, free: 6.285 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.093, allocations: 59.34 kB / 1.27 GB, free: 6.219 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/1.094, allocations: 0.7866 MB / 1.271 GB, free: 5.875 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/1.094, allocations: 33.3 kB / 1.271 GB, free: 5.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/1.094, allocations: 0.6219 MB / 1.271 GB, free: 5.344 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/1.095, allocations: 116.7 kB / 1.272 GB, free: 5.254 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/1.095, allocations: 115.8 kB / 1.272 GB, free: 5.191 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/1.095, allocations: 328.7 kB / 1.272 GB, free: 4.875 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/1.095, allocations: 143.9 kB / 1.272 GB, free: 4.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/1.095, allocations: 0.7295 MB / 1.273 GB, free: 4.039 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/1.096, allocations: 0.5436 MB / 1.273 GB, free: 3.629 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.096, allocations: 2.188 kB / 1.273 GB, free: 3.629 MB / 1.076 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008084/1.097, allocations: 0.598 MB / 1.274 GB, free: 3.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.097, allocations: 8.688 kB / 1.274 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.097, allocations: 8.375 kB / 1.274 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.097, allocations: 11.62 kB / 1.274 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/1.098, allocations: 184.8 kB / 1.274 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007619/1.098, allocations: 2.359 MB / 1.276 GB, free: 1.023 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/1.099, allocations: 56.36 kB / 1.276 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/1.099, allocations: 31 kB / 1.276 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004861/1.1, allocations: 369.4 kB / 1.277 GB, free: 0.793 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003578/1.1, allocations: 0.717 MB / 1.278 GB, free: 16 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006847/1.101, allocations: 0.5319 MB / 1.278 GB, free: 15.58 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/1.101, allocations: 2.906 kB / 1.278 GB, free: 15.58 MB / 1.092 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008967/1.102, allocations: 0.5956 MB / 1.279 GB, free: 15.31 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.102, allocations: 9.062 kB / 1.279 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/1.102, allocations: 12.22 kB / 1.279 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/1.102, allocations: 11.28 kB / 1.279 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.102, allocations: 125 kB / 1.279 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.102, allocations: 18.84 kB / 1.279 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/1.103, allocations: 52.06 kB / 1.279 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/1.103, allocations: 30.3 kB / 1.279 GB, free: 15.26 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000237/1.103, allocations: 220.2 kB / 1.279 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/1.103, allocations: 94.58 kB / 1.279 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/1.104, allocations: 395.3 kB / 1.28 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.104, allocations: 2.719 kB / 1.28 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/1.104, allocations: 4 kB / 1.28 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.104, allocations: 7.031 kB / 1.28 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/1.106, allocations: 1.13 MB / 1.281 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.106, allocations: 2.562 kB / 1.281 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/1.106, allocations: 90.83 kB / 1.281 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.107, allocations: 7.125 kB / 1.281 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/1.107, allocations: 13.94 kB / 1.281 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/1.108, allocations: 2.344 MB / 1.283 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.108, allocations: 6.969 kB / 1.283 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/1.11, allocations: 0.6525 MB / 1.284 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/1.11, allocations: 124.2 kB / 1.284 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/1.11, allocations: 6.594 kB / 1.284 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/1.111, allocations: 8.875 kB / 1.284 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/1.111, allocations: 34.95 kB / 1.284 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/1.111, allocations: 8.906 kB / 1.284 GB, free: 11.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001009/1.112, allocations: 0.5188 MB / 1.284 GB, free: 11.07 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.112, allocations: 0 / 1.284 GB, free: 11.07 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002413/1.114, allocations: 0.5397 MB / 1.285 GB, free: 10.94 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005318/1.115, allocations: 194.5 kB / 1.285 GB, free: 10.82 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002049/1.117, allocations: 0.6461 MB / 1.286 GB, free: 10.61 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.117, allocations: 0 / 1.286 GB, free: 10.61 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004936/1.117, allocations: 167.9 kB / 1.286 GB, free: 10.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.12, allocations: 343 kB / 1.286 GB, free: 10.46 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/1.124, allocations: 1.759 MB / 1.288 GB, free: 9.438 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/1.125, allocations: 0.5181 MB / 1.288 GB, free: 9.285 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006932/1.125, allocations: 197.4 kB / 1.289 GB, free: 9.238 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.125, allocations: 59.94 kB / 1.289 GB, free: 9.227 MB / 1.092 GB Notification: Performance of SimCode: time 1.052e-06/1.125, allocations: 3.5 kB / 1.289 GB, free: 9.227 MB / 1.092 GB Notification: Performance of Templates: time 0.03269/1.158, allocations: 12.45 MB / 1.301 GB, free: 7.031 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.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: 10.212557643651962]