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.001893/0.001892, allocations: 107.4 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.002302/0.002301, allocations: 193.1 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.623/1.623, allocations: 222.9 MB / 239.8 MB, free: 4.547 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 3.435/3.435, allocations: 437 MB / 0.7099 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8371, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.495/2.332, allocations: 259.8 MB / 1.27 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03598/2.368, allocations: 19.21 MB / 1.289 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00541/2.374, allocations: 43.72 kB / 1.289 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004685/2.379, allocations: 0.6158 MB / 1.29 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00977/2.388, allocations: 1.711 MB / 1.291 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/2.395, allocations: 1.307 MB / 1.293 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009025/2.404, allocations: 4.536 MB / 1.297 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/2.407, allocations: 1.013 MB / 1.298 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0138/2.421, allocations: 2.935 MB / 1.301 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/2.425, allocations: 1.04 MB / 1.302 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003796/2.425, allocations: 66.09 kB / 1.302 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005837/2.431, allocations: 1.722 MB / 1.304 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008224/2.432, allocations: 387.1 kB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/2.434, allocations: 0.664 MB / 1.305 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004799/2.439, allocations: 2.09 MB / 1.307 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/2.439, allocations: 0 / 1.307 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/2.439, allocations: 0 / 1.307 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.913e-05/2.439, allocations: 0 / 1.307 GB, free: 1.32 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.002926/2.442, allocations: 1.57 MB / 1.308 GB, free: 16.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/2.442, allocations: 13.95 kB / 1.308 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/2.443, allocations: 284.3 kB / 1.309 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/2.445, allocations: 0.8195 MB / 1.309 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/2.445, allocations: 72.44 kB / 1.309 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/2.445, allocations: 96 kB / 1.31 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/2.447, allocations: 0.9787 MB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/2.447, allocations: 9.531 kB / 1.311 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/2.447, allocations: 43.53 kB / 1.311 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/2.447, allocations: 21.5 kB / 1.311 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/2.448, allocations: 0.6435 MB / 1.311 GB, free: 15.82 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.005503/2.454, allocations: 4.381 MB / 1.315 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/2.454, allocations: 248.4 kB / 1.316 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/2.454, allocations: 137.5 kB / 1.316 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/2.455, allocations: 307.5 kB / 1.316 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/2.455, allocations: 35.31 kB / 1.316 GB, free: 12.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 3.546e-06/2.455, allocations: 4 kB / 1.316 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001192/2.456, allocations: 472.1 kB / 1.317 GB, free: 12.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/2.456, allocations: 59.44 kB / 1.317 GB, free: 12.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/2.458, allocations: 1.074 MB / 1.318 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/2.458, allocations: 31.23 kB / 1.318 GB, free: 12.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/2.458, allocations: 0.57 MB / 1.318 GB, free: 12.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/2.458, allocations: 115.1 kB / 1.318 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/2.459, allocations: 115.1 kB / 1.319 GB, free: 12.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001631/2.459, allocations: 322.2 kB / 1.319 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/2.459, allocations: 146.7 kB / 1.319 GB, free: 11.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/2.46, allocations: 405.9 kB / 1.319 GB, free: 11.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/2.46, allocations: 0.4952 MB / 1.32 GB, free: 11.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/2.46, allocations: 6.562 kB / 1.32 GB, free: 11.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00104/2.461, allocations: 0.5901 MB / 1.32 GB, free: 11.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/2.461, allocations: 7.719 kB / 1.32 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/2.461, allocations: 6.844 kB / 1.32 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/2.461, allocations: 11.19 kB / 1.32 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/2.462, allocations: 168.1 kB / 1.321 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/2.464, allocations: 2.361 MB / 1.323 GB, free: 8.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009728/2.465, allocations: 118 kB / 1.323 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/2.465, allocations: 37.56 kB / 1.323 GB, free: 8.676 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007189/2.466, allocations: 356.5 kB / 1.323 GB, free: 8.594 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004565/2.466, allocations: 398 kB / 1.324 GB, free: 8.285 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006305/2.467, allocations: 496.9 kB / 1.324 GB, free: 8.035 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/2.467, allocations: 0 / 1.324 GB, free: 8.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0009101/2.468, allocations: 0.5889 MB / 1.325 GB, free: 7.938 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/2.468, allocations: 11.56 kB / 1.325 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/2.468, allocations: 8.531 kB / 1.325 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/2.468, allocations: 11.06 kB / 1.325 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/2.468, allocations: 116.7 kB / 1.325 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/2.468, allocations: 13.34 kB / 1.325 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008155/2.469, allocations: 95.05 kB / 1.325 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/2.469, allocations: 28.33 kB / 1.325 GB, free: 7.902 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.0002457/2.469, allocations: 216.8 kB / 1.325 GB, free: 7.719 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/2.469, allocations: 111.2 kB / 1.325 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/2.47, allocations: 411.3 kB / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/2.47, allocations: 3.406 kB / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/2.47, allocations: 0 / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/2.47, allocations: 0 / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/2.472, allocations: 1.3 MB / 1.327 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/2.472, allocations: 3.375 kB / 1.327 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/2.473, allocations: 89.52 kB / 1.327 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/2.473, allocations: 5.656 kB / 1.327 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/2.473, allocations: 11.98 kB / 1.327 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/2.474, allocations: 2.353 MB / 1.33 GB, free: 4.836 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/2.474, allocations: 10.12 kB / 1.33 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/2.475, allocations: 0.6664 MB / 1.33 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/2.476, allocations: 213.2 kB / 1.33 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/2.476, allocations: 10.73 kB / 1.33 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/2.476, allocations: 49.66 kB / 1.33 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/2.477, allocations: 32.31 kB / 1.33 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/2.477, allocations: 12.28 kB / 1.33 GB, free: 4.379 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00109/2.478, allocations: 0.733 MB / 1.331 GB, free: 4.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/2.478, allocations: 0 / 1.331 GB, free: 4.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001515/2.479, allocations: 484 kB / 1.332 GB, free: 4.219 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.0006293/2.48, allocations: 214.9 kB / 1.332 GB, free: 4.105 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001765/2.482, allocations: 0.6298 MB / 1.332 GB, free: 4.094 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/2.482, allocations: 3.406 kB / 1.332 GB, free: 4.094 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/2.482, allocations: 167.3 kB / 1.333 GB, free: 4.094 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/2.485, allocations: 0.574 MB / 1.333 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/2.489, allocations: 2.217 MB / 1.335 GB, free: 2.742 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/2.49, allocations: 1.109 MB / 1.336 GB, free: 2.016 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001175/2.491, allocations: 237 kB / 1.337 GB, free: 1.961 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/2.491, allocations: 74.98 kB / 1.337 GB, free: 1.957 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/2.491, allocations: 0 / 1.337 GB, free: 1.957 MB / 1.014 GB Notification: Performance of Templates: time 0.04702/2.538, allocations: 18.41 MB / 1.355 GB, free: 14.01 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=400 -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