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 12.0.0-master/package.mo", uses=false) 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=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.00121/0.00121, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00139/0.00139, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 472.6 MB / 0.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.92 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.35, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9743/1.324, allocations: 258.9 MB / 1.321 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02254/1.347, allocations: 19 MB / 1.339 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/1.35, allocations: 44.03 kB / 1.339 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/1.352, allocations: 0.6463 MB / 1.34 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00538/1.358, allocations: 1.7 MB / 1.341 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/1.362, allocations: 1.33 MB / 1.343 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004789/1.367, allocations: 3.098 MB / 1.346 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/1.369, allocations: 1.163 MB / 1.347 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00883/1.377, allocations: 3.132 MB / 1.35 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/1.38, allocations: 1.048 MB / 1.351 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/1.38, allocations: 103 kB / 1.351 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/1.383, allocations: 1.572 MB / 1.353 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004259/1.384, allocations: 424.2 kB / 1.353 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009176/1.384, allocations: 0.7105 MB / 1.354 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/1.387, allocations: 2.138 MB / 1.356 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.387, allocations: 3.938 kB / 1.356 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.387, allocations: 0 / 1.356 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.668e-05/1.387, allocations: 0 / 1.356 GB, free: 2.762 MB / 0.9981 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.002209/1.39, allocations: 1.591 MB / 1.357 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.39, allocations: 11.12 kB / 1.357 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/1.391, allocations: 278.8 kB / 1.358 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.392, allocations: 0.834 MB / 1.358 GB, free: 17.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/1.392, allocations: 72.12 kB / 1.358 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/1.393, allocations: 93.47 kB / 1.359 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/1.394, allocations: 0.9831 MB / 1.36 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.394, allocations: 0 / 1.36 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/1.394, allocations: 38.03 kB / 1.36 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/1.394, allocations: 22.19 kB / 1.36 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009489/1.395, allocations: 0.6453 MB / 1.36 GB, free: 16.35 MB / 1.014 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.004342/1.399, allocations: 4.381 MB / 1.364 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/1.4, allocations: 251.3 kB / 1.365 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/1.4, allocations: 138.2 kB / 1.365 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.401, allocations: 311.3 kB / 1.365 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.401, allocations: 32.69 kB / 1.365 GB, free: 12.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/1.401, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001084/1.402, allocations: 481.3 kB / 1.366 GB, free: 12.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.402, allocations: 60.59 kB / 1.366 GB, free: 12.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.403, allocations: 1.085 MB / 1.367 GB, free: 11.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/1.403, allocations: 31.67 kB / 1.367 GB, free: 11.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/1.404, allocations: 0.5885 MB / 1.367 GB, free: 11.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/1.404, allocations: 112.5 kB / 1.367 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/1.404, allocations: 108.2 kB / 1.368 GB, free: 11.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.404, allocations: 328.3 kB / 1.368 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/1.404, allocations: 140.5 kB / 1.368 GB, free: 10.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/1.405, allocations: 397.2 kB / 1.368 GB, free: 10.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/1.405, allocations: 0.5032 MB / 1.369 GB, free: 10.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.405, allocations: 2 kB / 1.369 GB, free: 10.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008177/1.406, allocations: 0.5873 MB / 1.369 GB, free: 9.898 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.406, allocations: 11.69 kB / 1.369 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.406, allocations: 4.875 kB / 1.369 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.406, allocations: 12.66 kB / 1.369 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/1.407, allocations: 175.1 kB / 1.37 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/1.408, allocations: 2.36 MB / 1.372 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/1.409, allocations: 116.4 kB / 1.372 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/1.409, allocations: 35.61 kB / 1.372 GB, free: 7.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004828/1.41, allocations: 362.6 kB / 1.372 GB, free: 7.258 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003669/1.41, allocations: 394.1 kB / 1.373 GB, free: 6.891 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005538/1.411, allocations: 498.6 kB / 1.373 GB, free: 6.523 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/1.411, allocations: 2.125 kB / 1.373 GB, free: 6.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0007641/1.412, allocations: 0.5849 MB / 1.374 GB, free: 6.305 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.412, allocations: 12.97 kB / 1.374 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.412, allocations: 12.12 kB / 1.374 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/1.412, allocations: 11.22 kB / 1.374 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/1.412, allocations: 118.2 kB / 1.374 GB, free: 6.293 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/1.412, allocations: 12.05 kB / 1.374 GB, free: 6.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/1.413, allocations: 85.17 kB / 1.374 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/1.413, allocations: 27.5 kB / 1.374 GB, free: 6.258 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (63): * Single equations (assignments): 59 * 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.0001704/1.413, allocations: 223.1 kB / 1.374 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.413, allocations: 116.1 kB / 1.374 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/1.414, allocations: 419.4 kB / 1.375 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.414, allocations: 3.562 kB / 1.375 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.414, allocations: 0 / 1.375 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.414, allocations: 0 / 1.375 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/1.416, allocations: 1.31 MB / 1.376 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.416, allocations: 2.594 kB / 1.376 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/1.416, allocations: 82.88 kB / 1.376 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.416, allocations: 5.188 kB / 1.376 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/1.416, allocations: 9.938 kB / 1.376 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/1.417, allocations: 2.345 MB / 1.379 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.417, allocations: 5.031 kB / 1.379 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/1.418, allocations: 0.6652 MB / 1.379 GB, free: 2.316 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/1.418, allocations: 214.5 kB / 1.379 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.418, allocations: 8.844 kB / 1.379 GB, free: 2.141 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/1.419, allocations: 53.11 kB / 1.379 GB, free: 2.125 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/1.419, allocations: 27.33 kB / 1.379 GB, free: 2.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/1.419, allocations: 16.3 kB / 1.38 GB, free: 2.113 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001059/1.42, allocations: 0.7425 MB / 1.38 GB, free: 1.816 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.41e-07/1.42, allocations: 2.281 kB / 1.38 GB, free: 1.816 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001453/1.421, allocations: 485.5 kB / 1.381 GB, free: 1.746 MB / 1.014 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.0005541/1.422, allocations: 218.7 kB / 1.381 GB, free: 1.621 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001452/1.423, allocations: 0.6493 MB / 1.382 GB, free: 1.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.423, allocations: 0.6875 kB / 1.382 GB, free: 1.469 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/1.424, allocations: 187.2 kB / 1.382 GB, free: 1.418 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.426, allocations: 0.6194 MB / 1.382 GB, free: 1.219 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/1.429, allocations: 2.244 MB / 1.385 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/1.43, allocations: 1.104 MB / 1.386 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007908/1.43, allocations: 231.5 kB / 1.386 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/1.431, allocations: 74.91 kB / 1.386 GB, free: 14.98 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/1.431, allocations: 0 / 1.386 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Templates: time 0.03743/1.468, allocations: 19.56 MB / 1.405 GB, free: 5.934 MB / 1.029 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