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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001401/0.001401, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 10 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.344, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9931/1.337, allocations: 256.3 MB / 1.31 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02167/1.359, allocations: 18.96 MB / 1.328 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/1.361, allocations: 44.16 kB / 1.328 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/1.363, allocations: 0.6109 MB / 1.329 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005294/1.369, allocations: 1.715 MB / 1.33 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003912/1.372, allocations: 1.296 MB / 1.332 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006924/1.379, allocations: 4.544 MB / 1.336 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/1.382, allocations: 0.9708 MB / 1.337 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009371/1.391, allocations: 2.9 MB / 1.34 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/1.393, allocations: 0.987 MB / 1.341 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/1.393, allocations: 58.45 kB / 1.341 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/1.397, allocations: 1.709 MB / 1.343 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004388/1.397, allocations: 356.4 kB / 1.343 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/1.399, allocations: 0.6651 MB / 1.344 GB, free: 17.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/1.401, allocations: 1.479 MB / 1.345 GB, free: 17.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.401, allocations: 3.094 kB / 1.345 GB, free: 17.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/1.401, allocations: 0 / 1.345 GB, free: 17.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.718e-05/1.401, allocations: 0 / 1.345 GB, free: 17.11 MB / 1.014 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.001958/1.403, allocations: 1.358 MB / 1.346 GB, free: 16.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.403, allocations: 13.22 kB / 1.346 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/1.404, allocations: 291.4 kB / 1.347 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/1.405, allocations: 0.8222 MB / 1.347 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/1.405, allocations: 71.75 kB / 1.348 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.405, allocations: 93.44 kB / 1.348 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/1.407, allocations: 0.9814 MB / 1.349 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.407, allocations: 4 kB / 1.349 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/1.407, allocations: 37.06 kB / 1.349 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/1.407, allocations: 25.5 kB / 1.349 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/1.408, allocations: 0.6546 MB / 1.349 GB, free: 15.62 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.004278/1.412, allocations: 4.39 MB / 1.354 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/1.413, allocations: 249.5 kB / 1.354 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.413, allocations: 133.3 kB / 1.354 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/1.414, allocations: 324.9 kB / 1.354 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.414, allocations: 33.83 kB / 1.354 GB, free: 12.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.505e-06/1.414, allocations: 0 / 1.354 GB, free: 12.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0009505/1.415, allocations: 480.9 kB / 1.355 GB, free: 12.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.415, allocations: 62.56 kB / 1.355 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.416, allocations: 1.081 MB / 1.356 GB, free: 12.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/1.416, allocations: 33.11 kB / 1.356 GB, free: 12.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/1.417, allocations: 0.5831 MB / 1.356 GB, free: 11.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/1.417, allocations: 109 kB / 1.357 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/1.417, allocations: 47.7 kB / 1.357 GB, free: 11.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.417, allocations: 330.5 kB / 1.357 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/1.417, allocations: 130.8 kB / 1.357 GB, free: 11.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/1.418, allocations: 405 kB / 1.357 GB, free: 11.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/1.418, allocations: 0.4953 MB / 1.358 GB, free: 11.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.418, allocations: 3.281 kB / 1.358 GB, free: 11.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009023/1.419, allocations: 0.5922 MB / 1.359 GB, free: 10.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/1.419, allocations: 292.2 kB / 1.359 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.419, allocations: 11.94 kB / 1.359 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.419, allocations: 8.594 kB / 1.359 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/1.42, allocations: 175.1 kB / 1.359 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/1.422, allocations: 2.36 MB / 1.361 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/1.422, allocations: 117 kB / 1.361 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/1.423, allocations: 35.5 kB / 1.361 GB, free: 8.168 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/1.423, allocations: 3.062 kB / 1.361 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006418/1.423, allocations: 456.7 kB / 1.362 GB, free: 8.164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.423, allocations: 9.656 kB / 1.362 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.423, allocations: 15.56 kB / 1.362 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/1.424, allocations: 117.8 kB / 1.362 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.424, allocations: 21.25 kB / 1.362 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/1.424, allocations: 118.2 kB / 1.362 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/1.424, allocations: 23.47 kB / 1.362 GB, free: 8.105 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.0005248/1.425, allocations: 361 kB / 1.363 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.425, allocations: 116.8 kB / 1.363 GB, free: 7.855 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/1.426, allocations: 409.6 kB / 1.363 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.426, allocations: 5.719 kB / 1.363 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.426, allocations: 0 / 1.363 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.426, allocations: 6.219 kB / 1.363 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.428, allocations: 1.297 MB / 1.364 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.428, allocations: 2.906 kB / 1.364 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/1.428, allocations: 92.98 kB / 1.364 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.428, allocations: 6.031 kB / 1.364 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/1.428, allocations: 19.06 kB / 1.364 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.429, allocations: 2.345 MB / 1.367 GB, free: 5.031 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.429, allocations: 5.719 kB / 1.367 GB, free: 5.027 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/1.43, allocations: 0.6667 MB / 1.367 GB, free: 4.746 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/1.43, allocations: 225 kB / 1.368 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.43, allocations: 9.125 kB / 1.368 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/1.431, allocations: 49.19 kB / 1.368 GB, free: 4.578 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/1.431, allocations: 29.78 kB / 1.368 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.431, allocations: 7.969 kB / 1.368 GB, free: 4.574 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008698/1.432, allocations: 0.7446 MB / 1.368 GB, free: 4.465 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/1.432, allocations: 0 / 1.368 GB, free: 4.465 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001282/1.433, allocations: 494.3 kB / 1.369 GB, free: 4.406 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.0004716/1.434, allocations: 202.3 kB / 1.369 GB, free: 4.301 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001416/1.435, allocations: 0.6322 MB / 1.37 GB, free: 4.289 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.435, allocations: 5.375 kB / 1.37 GB, free: 4.289 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/1.435, allocations: 177.5 kB / 1.37 GB, free: 4.285 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/1.438, allocations: 0.6038 MB / 1.37 GB, free: 4.227 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/1.442, allocations: 2.369 MB / 1.373 GB, free: 2.863 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.442, allocations: 1.113 MB / 1.374 GB, free: 2.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.442, allocations: 78.17 kB / 1.374 GB, free: 2.137 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/1.442, allocations: 3.938 kB / 1.374 GB, free: 2.133 MB / 1.014 GB Notification: Performance of Templates: time 0.04631/1.489, allocations: 35.83 MB / 1.409 GB, free: 12.78 MB / 1.045 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches