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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007265/0.007265, allocations: 104.5 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 196.2 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 64.11 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.068, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.3116/1.38, allocations: 261.9 MB / 1.463 GB, free: 6.723 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02526/1.405, allocations: 19.13 MB / 1.482 GB, free: 3.531 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/1.408, allocations: 51.69 kB / 1.482 GB, free: 3.48 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003227/1.411, allocations: 0.7452 MB / 1.483 GB, free: 2.73 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008328/1.42, allocations: 1.82 MB / 1.485 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00641/1.426, allocations: 1.459 MB / 1.486 GB, free: 15.44 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006544/1.433, allocations: 3.085 MB / 1.489 GB, free: 12.35 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00329/1.436, allocations: 1.246 MB / 1.49 GB, free: 11.08 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/1.448, allocations: 3.199 MB / 1.494 GB, free: 7.883 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/1.451, allocations: 0.992 MB / 1.494 GB, free: 6.887 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004589/1.452, allocations: 100 kB / 1.495 GB, free: 6.789 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/1.457, allocations: 1.52 MB / 1.496 GB, free: 5.266 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009182/1.457, allocations: 422.6 kB / 1.496 GB, free: 4.852 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002108/1.46, allocations: 0.6998 MB / 1.497 GB, free: 4.148 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006441/1.466, allocations: 2.06 MB / 1.499 GB, free: 2.082 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.466, allocations: 0 / 1.499 GB, free: 2.082 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.986e-06/1.466, allocations: 0 / 1.499 GB, free: 2.082 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.00011/1.466, allocations: 0 / 1.499 GB, free: 2.082 MB / 1.217 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.006132/1.472, allocations: 1.588 MB / 1.501 GB, free: 452 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/1.472, allocations: 8.031 kB / 1.501 GB, free: 444 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/1.475, allocations: 286 kB / 1.501 GB, free: 156 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/1.478, allocations: 0.874 MB / 1.502 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/1.478, allocations: 77.94 kB / 1.502 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/1.479, allocations: 92 kB / 1.502 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/1.481, allocations: 1.003 MB / 1.503 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/1.481, allocations: 3.938 kB / 1.503 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/1.481, allocations: 36 kB / 1.503 GB, free: 13.96 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/1.482, allocations: 24 kB / 1.503 GB, free: 13.94 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/1.483, allocations: 0.644 MB / 1.504 GB, free: 13.29 MB / 1.232 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.00767/1.491, allocations: 4.699 MB / 1.508 GB, free: 8.258 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/1.492, allocations: 262.8 kB / 1.509 GB, free: 7.992 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/1.492, allocations: 133.3 kB / 1.509 GB, free: 7.859 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007886/1.493, allocations: 315.2 kB / 1.509 GB, free: 7.496 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.493, allocations: 34.5 kB / 1.509 GB, free: 7.453 MB / 1.232 GB Notification: Performance of pre-optimization done (n=29): time 4.538e-06/1.493, allocations: 0 / 1.509 GB, free: 7.453 MB / 1.232 GB Notification: Performance of matching and sorting (n=29): time 0.00158/1.494, allocations: 486.1 kB / 1.509 GB, free: 6.973 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.495, allocations: 55.41 kB / 1.509 GB, free: 6.906 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/1.497, allocations: 1.099 MB / 1.511 GB, free: 5.797 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/1.497, allocations: 33.7 kB / 1.511 GB, free: 5.758 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007105/1.498, allocations: 0.5896 MB / 1.511 GB, free: 5.164 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/1.498, allocations: 110.5 kB / 1.511 GB, free: 5.055 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/1.498, allocations: 118 kB / 1.511 GB, free: 4.934 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.498, allocations: 330 kB / 1.512 GB, free: 4.605 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/1.499, allocations: 147 kB / 1.512 GB, free: 4.457 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/1.499, allocations: 429.5 kB / 1.512 GB, free: 3.91 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/1.5, allocations: 0.5279 MB / 1.513 GB, free: 3.277 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.5, allocations: 4 kB / 1.513 GB, free: 3.273 MB / 1.232 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001519/1.502, allocations: 0.6237 MB / 1.513 GB, free: 2.645 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.502, allocations: 8 kB / 1.513 GB, free: 2.637 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/1.502, allocations: 8 kB / 1.513 GB, free: 2.629 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/1.502, allocations: 16.03 kB / 1.513 GB, free: 2.613 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.503, allocations: 175.8 kB / 1.514 GB, free: 2.441 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.505, allocations: 2.36 MB / 1.516 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.506, allocations: 95.23 kB / 1.516 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/1.506, allocations: 32 kB / 1.516 GB, free: 15.86 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009178/1.507, allocations: 365.1 kB / 1.516 GB, free: 15.5 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006729/1.508, allocations: 429.1 kB / 1.517 GB, free: 14.95 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001005/1.509, allocations: 0.53 MB / 1.517 GB, free: 14.32 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.421e-06/1.509, allocations: 0 / 1.517 GB, free: 14.32 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001589/1.511, allocations: 0.6088 MB / 1.518 GB, free: 13.7 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.511, allocations: 20.72 kB / 1.518 GB, free: 13.69 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.511, allocations: 8.078 kB / 1.518 GB, free: 13.68 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/1.511, allocations: 19.94 kB / 1.518 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/1.511, allocations: 119.8 kB / 1.518 GB, free: 13.54 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/1.511, allocations: 23.91 kB / 1.518 GB, free: 13.52 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/1.512, allocations: 47.59 kB / 1.518 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/1.512, allocations: 31.94 kB / 1.518 GB, free: 13.44 MB / 1.248 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.0002638/1.513, allocations: 220.1 kB / 1.518 GB, free: 13.22 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/1.513, allocations: 118.5 kB / 1.518 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/1.514, allocations: 413.4 kB / 1.519 GB, free: 12.69 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.514, allocations: 0 / 1.519 GB, free: 12.69 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.514, allocations: 4 kB / 1.519 GB, free: 12.69 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.514, allocations: 3.984 kB / 1.519 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/1.517, allocations: 1.293 MB / 1.52 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.517, allocations: 4.312 kB / 1.52 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/1.518, allocations: 87.88 kB / 1.52 GB, free: 11.22 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-06/1.518, allocations: 4 kB / 1.52 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/1.518, allocations: 8 kB / 1.52 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/1.519, allocations: 2.344 MB / 1.523 GB, free: 8.77 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.519, allocations: 11.92 kB / 1.523 GB, free: 8.758 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/1.52, allocations: 0.6682 MB / 1.523 GB, free: 8.043 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/1.521, allocations: 231.5 kB / 1.523 GB, free: 7.797 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.521, allocations: 8 kB / 1.523 GB, free: 7.789 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.521, allocations: 8 kB / 1.523 GB, free: 7.781 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/1.521, allocations: 23.91 kB / 1.523 GB, free: 7.758 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/1.521, allocations: 12 kB / 1.523 GB, free: 7.746 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009631/1.522, allocations: 0.7493 MB / 1.524 GB, free: 6.992 MB / 1.248 GB Notification: Performance of sort global known variables: time 2e-07/1.522, allocations: 4 kB / 1.524 GB, free: 6.988 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001276/1.524, allocations: 491.1 kB / 1.525 GB, free: 6.508 MB / 1.248 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.0005207/1.524, allocations: 207.2 kB / 1.525 GB, free: 6.301 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.526, allocations: 0.6805 MB / 1.526 GB, free: 5.625 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/1.526, allocations: 0 / 1.526 GB, free: 5.625 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/1.526, allocations: 171.1 kB / 1.526 GB, free: 5.461 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.529, allocations: 0.6218 MB / 1.526 GB, free: 4.848 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/1.532, allocations: 1.858 MB / 1.528 GB, free: 2.926 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/1.533, allocations: 1.111 MB / 1.529 GB, free: 1.785 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007331/1.534, allocations: 249.6 kB / 1.529 GB, free: 1.539 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.534, allocations: 75.44 kB / 1.529 GB, free: 1.465 MB / 1.248 GB Notification: Performance of SimCode: time 7.71e-07/1.534, allocations: 0 / 1.529 GB, free: 1.465 MB / 1.248 GB Notification: Performance of Templates: time 0.03786/1.572, allocations: 20.17 MB / 1.549 GB, free: 13.58 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) 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) Reference file matches