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.0009222/0.0009222, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008104/0.0008104, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.76/1.76, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.222e-06/1.222e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.915e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.6916/0.6916, allocations: 232.7 MB / 1.228 GB, free: 13.75 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.7069, allocations: 17.49 MB / 1.245 GB, free: 88 kB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.7083, allocations: 70.75 kB / 1.245 GB, free: 48 kB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.7099, allocations: 0.7505 MB / 1.246 GB, free: 15.41 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.7133, allocations: 1.916 MB / 1.248 GB, free: 13.92 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.716, allocations: 1.573 MB / 1.249 GB, free: 12.72 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.7183, allocations: 3.022 MB / 1.252 GB, free: 10.23 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007954/0.7191, allocations: 0.8749 MB / 1.253 GB, free: 9.344 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/0.725, allocations: 3.822 MB / 1.257 GB, free: 5.516 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006816/0.7256, allocations: 0.8567 MB / 1.258 GB, free: 4.656 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.7257, allocations: 104 kB / 1.258 GB, free: 4.555 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.7273, allocations: 1.262 MB / 1.259 GB, free: 3.289 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.7276, allocations: 454.5 kB / 1.26 GB, free: 2.844 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.7279, allocations: 498.9 kB / 1.26 GB, free: 2.355 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.7295, allocations: 2.076 MB / 1.262 GB, free: 280 kB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7295, allocations: 0 / 1.262 GB, free: 280 kB / 1.089 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7295, allocations: 0 / 1.262 GB, free: 280 kB / 1.089 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7295, allocations: 0 / 1.262 GB, free: 280 kB / 1.089 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.001366/0.7309, allocations: 1.542 MB / 1.264 GB, free: 14.69 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7309, allocations: 8.031 kB / 1.264 GB, free: 14.68 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007126/0.7316, allocations: 298.8 kB / 1.264 GB, free: 14.39 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008744/0.7325, allocations: 0.8146 MB / 1.265 GB, free: 13.54 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.7325, allocations: 70 kB / 1.265 GB, free: 13.46 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.7326, allocations: 99.98 kB / 1.265 GB, free: 13.37 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.7335, allocations: 1.003 MB / 1.266 GB, free: 12.3 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.7335, allocations: 3.938 kB / 1.266 GB, free: 12.3 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.7336, allocations: 46.84 kB / 1.266 GB, free: 12.25 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.7336, allocations: 24 kB / 1.266 GB, free: 12.23 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.7342, allocations: 0.644 MB / 1.267 GB, free: 11.58 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.7365, allocations: 3.385 MB / 1.27 GB, free: 8.094 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.7368, allocations: 230.8 kB / 1.27 GB, free: 7.859 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.7369, allocations: 120.8 kB / 1.27 GB, free: 7.738 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.7372, allocations: 75.92 kB / 1.27 GB, free: 7.664 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.7372, allocations: 38.56 kB / 1.27 GB, free: 7.617 MB / 1.104 GB Notification: Performance of pre-optimization done (n=29): time 1.353e-06/0.7372, allocations: 0 / 1.27 GB, free: 7.617 MB / 1.104 GB Notification: Performance of matching and sorting (n=29): time 0.0005561/0.7377, allocations: 463.7 kB / 1.271 GB, free: 7.164 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.7378, allocations: 55.34 kB / 1.271 GB, free: 7.098 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.7383, allocations: 0.785 MB / 1.272 GB, free: 6.289 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.7383, allocations: 41.64 kB / 1.272 GB, free: 6.242 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.7386, allocations: 0.6165 MB / 1.272 GB, free: 5.617 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.7387, allocations: 115 kB / 1.272 GB, free: 5.504 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.7388, allocations: 122.2 kB / 1.272 GB, free: 5.375 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.7389, allocations: 330 kB / 1.273 GB, free: 5.047 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.739, allocations: 147.4 kB / 1.273 GB, free: 4.902 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.7394, allocations: 0.7214 MB / 1.274 GB, free: 3.977 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.7398, allocations: 0.5297 MB / 1.274 GB, free: 3.348 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7398, allocations: 0 / 1.274 GB, free: 3.348 MB / 1.104 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005436/0.7403, allocations: 0.6068 MB / 1.275 GB, free: 2.734 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7403, allocations: 11.94 kB / 1.275 GB, free: 2.723 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7403, allocations: 15.12 kB / 1.275 GB, free: 2.711 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7404, allocations: 12 kB / 1.275 GB, free: 2.699 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.7408, allocations: 176.8 kB / 1.275 GB, free: 2.531 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008238/0.7416, allocations: 2.356 MB / 1.277 GB, free: 84 kB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.7418, allocations: 51.67 kB / 1.277 GB, free: 32 kB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.7419, allocations: 31.98 kB / 1.277 GB, free: 0 / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003242/0.7422, allocations: 381.3 kB / 1.278 GB, free: 15.62 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003303/0.7425, allocations: 0.714 MB / 1.278 GB, free: 14.71 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003885/0.7429, allocations: 0.5336 MB / 1.279 GB, free: 14.07 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.7429, allocations: 0 / 1.279 GB, free: 14.07 MB / 1.12 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0005138/0.7434, allocations: 0.5975 MB / 1.279 GB, free: 13.47 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.7435, allocations: 8 kB / 1.279 GB, free: 13.46 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.7435, allocations: 12.12 kB / 1.279 GB, free: 13.45 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.7435, allocations: 12 kB / 1.279 GB, free: 13.44 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.7437, allocations: 127.8 kB / 1.28 GB, free: 13.31 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7437, allocations: 15.94 kB / 1.28 GB, free: 13.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.7439, allocations: 51.72 kB / 1.28 GB, free: 13.25 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.7439, allocations: 31.94 kB / 1.28 GB, free: 13.21 MB / 1.12 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.0001005/0.744, allocations: 220.1 kB / 1.28 GB, free: 12.99 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.7441, allocations: 99.42 kB / 1.28 GB, free: 12.89 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.7445, allocations: 389.7 kB / 1.28 GB, free: 12.51 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7445, allocations: 4 kB / 1.28 GB, free: 12.51 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7445, allocations: 0 / 1.28 GB, free: 12.51 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7445, allocations: 11.91 kB / 1.28 GB, free: 12.5 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.7455, allocations: 1.14 MB / 1.281 GB, free: 11.29 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7455, allocations: 0 / 1.281 GB, free: 11.29 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.7457, allocations: 83.95 kB / 1.282 GB, free: 11.21 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7457, allocations: 4 kB / 1.282 GB, free: 11.2 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.7457, allocations: 12 kB / 1.282 GB, free: 11.19 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007171/0.7464, allocations: 2.344 MB / 1.284 GB, free: 8.754 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7464, allocations: 7.938 kB / 1.284 GB, free: 8.746 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.7469, allocations: 0.6396 MB / 1.284 GB, free: 8.062 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.747, allocations: 115.3 kB / 1.285 GB, free: 7.949 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.7471, allocations: 12 kB / 1.285 GB, free: 7.938 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.7472, allocations: 15.88 kB / 1.285 GB, free: 7.922 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.7473, allocations: 28.17 kB / 1.285 GB, free: 7.895 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7473, allocations: 20 kB / 1.285 GB, free: 7.875 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0003807/0.7477, allocations: 0.512 MB / 1.285 GB, free: 7.352 MB / 1.12 GB Notification: Performance of sort global known variables: time 5e-08/0.7477, allocations: 0 / 1.285 GB, free: 7.352 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0007051/0.7484, allocations: 0.5493 MB / 1.286 GB, free: 6.801 MB / 1.12 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.0002605/0.7486, allocations: 201.1 kB / 1.286 GB, free: 6.594 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0007911/0.7494, allocations: 0.64 MB / 1.287 GB, free: 5.957 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7494, allocations: 0 / 1.287 GB, free: 5.957 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.7496, allocations: 168.8 kB / 1.287 GB, free: 5.793 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.7504, allocations: 340 kB / 1.287 GB, free: 5.484 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.752, allocations: 1.83 MB / 1.289 GB, free: 3.586 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.7524, allocations: 0.5231 MB / 1.289 GB, free: 3.027 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.7525, allocations: 64.5 kB / 1.289 GB, free: 2.969 MB / 1.12 GB Notification: Performance of SimCode: time 7.32e-07/0.7525, allocations: 0 / 1.289 GB, free: 2.969 MB / 1.12 GB Notification: Performance of Templates: time 0.02076/0.7733, allocations: 33.49 MB / 1.322 GB, free: 1.562 MB / 1.151 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.060702480375767]