Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001581/0.001582, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.549/1.549, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.987/2.987, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.096, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.342/2.438, allocations: 259.8 MB / 1.27 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03312/2.472, allocations: 19.21 MB / 1.289 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/2.476, allocations: 45 kB / 1.289 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/2.479, allocations: 0.6162 MB / 1.29 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008876/2.488, allocations: 1.714 MB / 1.291 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00632/2.495, allocations: 1.314 MB / 1.293 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008993/2.504, allocations: 4.539 MB / 1.297 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/2.506, allocations: 1.004 MB / 1.298 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/2.517, allocations: 2.935 MB / 1.301 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/2.521, allocations: 1.041 MB / 1.302 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003774/2.521, allocations: 64.34 kB / 1.302 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005645/2.527, allocations: 1.73 MB / 1.304 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009174/2.528, allocations: 385.3 kB / 1.304 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002146/2.53, allocations: 0.6615 MB / 1.305 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005143/2.535, allocations: 2.09 MB / 1.307 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/2.535, allocations: 0 / 1.307 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/2.535, allocations: 1.938 kB / 1.307 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.609e-05/2.535, allocations: 4 kB / 1.307 GB, free: 1.258 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.003162/2.538, allocations: 1.561 MB / 1.308 GB, free: 16.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/2.538, allocations: 12.89 kB / 1.308 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/2.54, allocations: 287.5 kB / 1.309 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/2.542, allocations: 0.8272 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/2.542, allocations: 70.53 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/2.542, allocations: 93.88 kB / 1.31 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/2.544, allocations: 0.9838 MB / 1.31 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/2.544, allocations: 7.562 kB / 1.311 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/2.544, allocations: 38.53 kB / 1.311 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/2.544, allocations: 22.19 kB / 1.311 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/2.545, allocations: 0.6451 MB / 1.311 GB, free: 15.76 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.005991/2.551, allocations: 4.377 MB / 1.315 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/2.552, allocations: 254.5 kB / 1.316 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/2.552, allocations: 134.8 kB / 1.316 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/2.553, allocations: 305.8 kB / 1.316 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.553, allocations: 39.25 kB / 1.316 GB, free: 12.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/2.553, allocations: 0 / 1.316 GB, free: 12.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001312/2.554, allocations: 474.3 kB / 1.317 GB, free: 12.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/2.554, allocations: 57.78 kB / 1.317 GB, free: 12.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/2.556, allocations: 1.077 MB / 1.318 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/2.556, allocations: 35.64 kB / 1.318 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/2.556, allocations: 0.5699 MB / 1.318 GB, free: 12.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/2.556, allocations: 115.1 kB / 1.318 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/2.557, allocations: 110.3 kB / 1.319 GB, free: 12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001562/2.557, allocations: 325.6 kB / 1.319 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/2.557, allocations: 142.4 kB / 1.319 GB, free: 11.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/2.558, allocations: 403.1 kB / 1.319 GB, free: 11.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/2.558, allocations: 0.498 MB / 1.32 GB, free: 11.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/2.558, allocations: 0 / 1.32 GB, free: 11.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001085/2.559, allocations: 0.5911 MB / 1.32 GB, free: 11.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/2.559, allocations: 7.5 kB / 1.32 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/2.559, allocations: 6.062 kB / 1.32 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/2.559, allocations: 10.19 kB / 1.32 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/2.56, allocations: 174.1 kB / 1.321 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/2.562, allocations: 2.361 MB / 1.323 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/2.563, allocations: 117.7 kB / 1.323 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/2.563, allocations: 33.19 kB / 1.323 GB, free: 8.625 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007261/2.564, allocations: 359.1 kB / 1.323 GB, free: 8.543 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004751/2.564, allocations: 394.7 kB / 1.324 GB, free: 8.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007678/2.565, allocations: 0.4918 MB / 1.324 GB, free: 7.977 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.588e-06/2.565, allocations: 2.531 kB / 1.324 GB, free: 7.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0009582/2.566, allocations: 0.5827 MB / 1.325 GB, free: 7.879 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/2.566, allocations: 12.03 kB / 1.325 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/2.566, allocations: 7.156 kB / 1.325 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/2.566, allocations: 13.84 kB / 1.325 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/2.567, allocations: 115.2 kB / 1.325 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/2.567, allocations: 12.72 kB / 1.325 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008627/2.567, allocations: 87.66 kB / 1.325 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/2.567, allocations: 31.75 kB / 1.325 GB, free: 7.848 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.0002626/2.568, allocations: 219.9 kB / 1.325 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/2.568, allocations: 112.3 kB / 1.325 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/2.569, allocations: 412.6 kB / 1.326 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/2.569, allocations: 3.406 kB / 1.326 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.569, allocations: 3.938 kB / 1.326 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/2.569, allocations: 2.562 kB / 1.326 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/2.572, allocations: 1.302 MB / 1.327 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/2.572, allocations: 5.219 kB / 1.327 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/2.572, allocations: 83.7 kB / 1.327 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/2.572, allocations: 2.688 kB / 1.327 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/2.572, allocations: 15.8 kB / 1.327 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/2.574, allocations: 2.344 MB / 1.329 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/2.574, allocations: 7.375 kB / 1.329 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/2.575, allocations: 0.6652 MB / 1.33 GB, free: 4.496 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/2.575, allocations: 213.9 kB / 1.33 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/2.576, allocations: 9.438 kB / 1.33 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/2.576, allocations: 52.41 kB / 1.33 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/2.576, allocations: 29.48 kB / 1.33 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/2.576, allocations: 14.41 kB / 1.33 GB, free: 4.328 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001347/2.578, allocations: 0.7277 MB / 1.331 GB, free: 4.219 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.71e-07/2.578, allocations: 0 / 1.331 GB, free: 4.219 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001803/2.579, allocations: 487.8 kB / 1.332 GB, free: 4.168 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.0006465/2.58, allocations: 209.2 kB / 1.332 GB, free: 4.055 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001718/2.582, allocations: 0.6452 MB / 1.332 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/2.582, allocations: 0 / 1.332 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/2.582, allocations: 174.9 kB / 1.333 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/2.585, allocations: 0.5689 MB / 1.333 GB, free: 3.977 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/2.589, allocations: 2.21 MB / 1.335 GB, free: 2.684 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/2.589, allocations: 1.105 MB / 1.336 GB, free: 1.961 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001148/2.591, allocations: 243.4 kB / 1.337 GB, free: 1.902 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/2.591, allocations: 76.78 kB / 1.337 GB, free: 1.895 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/2.591, allocations: 0 / 1.337 GB, free: 1.895 MB / 1.014 GB Notification: Performance of Templates: time 0.04263/2.633, allocations: 18.41 MB / 1.355 GB, free: 13.98 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_10_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches