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.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.001233/0.001233, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001256/0.001256, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.238 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 2.933/2.933, allocations: 489.2 MB / 0.7687 GB, free: 3.773 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.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 0.001943/0.001943, allocations: 71.88 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9798/0.9818, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.3334/1.315, allocations: 262 MB / 1.518 GB, free: 1.805 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02722/1.342, allocations: 19.12 MB / 1.537 GB, free: 14.62 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/1.345, allocations: 51.69 kB / 1.537 GB, free: 14.57 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002484/1.347, allocations: 0.7412 MB / 1.538 GB, free: 13.83 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005514/1.353, allocations: 1.792 MB / 1.54 GB, free: 12.03 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/1.357, allocations: 1.462 MB / 1.541 GB, free: 10.57 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004864/1.362, allocations: 3.056 MB / 1.544 GB, free: 7.5 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/1.364, allocations: 1.242 MB / 1.545 GB, free: 6.238 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00918/1.373, allocations: 3.312 MB / 1.548 GB, free: 2.918 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/1.375, allocations: 0.953 MB / 1.549 GB, free: 1.961 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/1.375, allocations: 104 kB / 1.55 GB, free: 1.859 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/1.379, allocations: 1.508 MB / 1.551 GB, free: 356 kB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005091/1.379, allocations: 422.7 kB / 1.551 GB, free: 15.93 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009883/1.38, allocations: 0.6998 MB / 1.552 GB, free: 15.23 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00342/1.383, allocations: 2.055 MB / 1.554 GB, free: 13.17 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.383, allocations: 0 / 1.554 GB, free: 13.17 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.623e-06/1.383, allocations: 0 / 1.554 GB, free: 13.17 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.713e-05/1.384, allocations: 0 / 1.554 GB, free: 13.17 MB / 1.248 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.002614/1.386, allocations: 1.641 MB / 1.556 GB, free: 11.47 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.386, allocations: 8.031 kB / 1.556 GB, free: 11.46 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/1.388, allocations: 294.9 kB / 1.556 GB, free: 11.17 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/1.389, allocations: 0.8789 MB / 1.557 GB, free: 10.25 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/1.389, allocations: 73.94 kB / 1.557 GB, free: 10.18 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.389, allocations: 96 kB / 1.557 GB, free: 10.09 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.391, allocations: 1.003 MB / 1.558 GB, free: 9.016 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/1.391, allocations: 0 / 1.558 GB, free: 9.016 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/1.391, allocations: 36 kB / 1.558 GB, free: 8.98 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.391, allocations: 24 kB / 1.558 GB, free: 8.957 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/1.392, allocations: 0.6478 MB / 1.559 GB, free: 8.312 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/1.397, allocations: 4.709 MB / 1.563 GB, free: 3.27 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/1.398, allocations: 249.5 kB / 1.564 GB, free: 3.02 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/1.398, allocations: 129.3 kB / 1.564 GB, free: 2.891 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/1.399, allocations: 315.2 kB / 1.564 GB, free: 2.527 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.399, allocations: 42.44 kB / 1.564 GB, free: 2.477 MB / 1.248 GB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/1.399, allocations: 0 / 1.564 GB, free: 2.477 MB / 1.248 GB Notification: Performance of matching and sorting (n=29): time 0.001073/1.4, allocations: 486.8 kB / 1.564 GB, free: 1.996 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/1.4, allocations: 59.41 kB / 1.564 GB, free: 1.926 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.401, allocations: 1.099 MB / 1.566 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/1.401, allocations: 33.7 kB / 1.566 GB, free: 0.7773 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/1.402, allocations: 0.5946 MB / 1.566 GB, free: 184 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/1.402, allocations: 123 kB / 1.566 GB, free: 60 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.402, allocations: 118.2 kB / 1.566 GB, free: 15.94 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.402, allocations: 330 kB / 1.567 GB, free: 15.61 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/1.403, allocations: 147 kB / 1.567 GB, free: 15.46 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/1.403, allocations: 441 kB / 1.567 GB, free: 14.91 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/1.404, allocations: 0.538 MB / 1.568 GB, free: 14.27 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.404, allocations: 7.938 kB / 1.568 GB, free: 14.26 MB / 1.264 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00104/1.405, allocations: 0.623 MB / 1.568 GB, free: 13.63 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.405, allocations: 14.19 kB / 1.568 GB, free: 13.62 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.405, allocations: 8.859 kB / 1.568 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.405, allocations: 12 kB / 1.568 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/1.406, allocations: 179.8 kB / 1.569 GB, free: 13.42 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/1.408, allocations: 2.356 MB / 1.571 GB, free: 10.97 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/1.408, allocations: 95.28 kB / 1.571 GB, free: 10.88 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/1.408, allocations: 28.28 kB / 1.571 GB, free: 10.85 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000598/1.409, allocations: 373.1 kB / 1.571 GB, free: 10.48 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004961/1.409, allocations: 421.5 kB / 1.572 GB, free: 9.941 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000694/1.41, allocations: 0.5326 MB / 1.572 GB, free: 9.305 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/1.41, allocations: 0 / 1.572 GB, free: 9.305 MB / 1.264 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009515/1.411, allocations: 0.6188 MB / 1.573 GB, free: 8.68 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.411, allocations: 8 kB / 1.573 GB, free: 8.672 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.411, allocations: 8.844 kB / 1.573 GB, free: 8.664 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.411, allocations: 15.94 kB / 1.573 GB, free: 8.648 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/1.412, allocations: 127.8 kB / 1.573 GB, free: 8.523 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.412, allocations: 15.98 kB / 1.573 GB, free: 8.508 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/1.412, allocations: 51.89 kB / 1.573 GB, free: 8.457 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/1.412, allocations: 28 kB / 1.573 GB, free: 8.43 MB / 1.264 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.0001919/1.412, allocations: 220 kB / 1.573 GB, free: 8.207 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.413, allocations: 123.2 kB / 1.573 GB, free: 8.086 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/1.413, allocations: 409.3 kB / 1.574 GB, free: 7.672 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.413, allocations: 4 kB / 1.574 GB, free: 7.668 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.413, allocations: 0 / 1.574 GB, free: 7.668 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.413, allocations: 0 / 1.574 GB, free: 7.668 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/1.415, allocations: 1.297 MB / 1.575 GB, free: 6.289 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.415, allocations: 4 kB / 1.575 GB, free: 6.285 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/1.416, allocations: 88.2 kB / 1.575 GB, free: 6.199 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.416, allocations: 11.94 kB / 1.575 GB, free: 6.188 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.416, allocations: 8 kB / 1.575 GB, free: 6.18 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/1.417, allocations: 2.348 MB / 1.578 GB, free: 3.738 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.417, allocations: 4 kB / 1.578 GB, free: 3.734 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/1.418, allocations: 0.6727 MB / 1.578 GB, free: 3.016 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/1.418, allocations: 236.3 kB / 1.578 GB, free: 2.766 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.418, allocations: 8 kB / 1.578 GB, free: 2.758 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/1.419, allocations: 4 kB / 1.578 GB, free: 2.754 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/1.419, allocations: 35.8 kB / 1.578 GB, free: 2.719 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/1.419, allocations: 12 kB / 1.579 GB, free: 2.707 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001026/1.42, allocations: 0.7453 MB / 1.579 GB, free: 1.957 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/1.42, allocations: 4 kB / 1.579 GB, free: 1.953 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001257/1.421, allocations: 495.3 kB / 1.58 GB, free: 1.469 MB / 1.264 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.0005017/1.422, allocations: 207.2 kB / 1.58 GB, free: 1.262 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.423, allocations: 0.6727 MB / 1.581 GB, free: 0.5938 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.423, allocations: 0 / 1.581 GB, free: 0.5938 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/1.424, allocations: 172.7 kB / 1.581 GB, free: 436 kB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.426, allocations: 0.6181 MB / 1.581 GB, free: 15.82 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/1.43, allocations: 1.966 MB / 1.583 GB, free: 13.79 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.431, allocations: 1.107 MB / 1.584 GB, free: 12.65 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/1.431, allocations: 79.44 kB / 1.584 GB, free: 12.57 MB / 1.279 GB Notification: Performance of SimCode: time 1.042e-06/1.431, allocations: 3.938 kB / 1.584 GB, free: 12.57 MB / 1.279 GB Notification: Performance of Templates: time 0.0482/1.479, allocations: 36.21 MB / 1.62 GB, free: 8.48 MB / 1.311 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.628672081977129]