Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001295/0.001295, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001311/0.001311, allocations: 190 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 469.8 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 65.09 kB / 0.908 GB, free: 34.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3842, allocations: 159.2 MB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.931/1.315, allocations: 258.8 MB / 1.316 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01841/1.334, allocations: 19 MB / 1.335 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/1.336, allocations: 44.16 kB / 1.335 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/1.338, allocations: 0.6416 MB / 1.335 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004561/1.342, allocations: 1.707 MB / 1.337 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.346, allocations: 1.341 MB / 1.338 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003599/1.349, allocations: 3.091 MB / 1.341 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/1.351, allocations: 1.166 MB / 1.343 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/1.358, allocations: 3.135 MB / 1.346 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/1.36, allocations: 1.036 MB / 1.347 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/1.36, allocations: 106.2 kB / 1.347 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/1.363, allocations: 1.572 MB / 1.348 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003649/1.363, allocations: 425.4 kB / 1.349 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007301/1.364, allocations: 0.7021 MB / 1.349 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/1.366, allocations: 2.145 MB / 1.351 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.366, allocations: 4 kB / 1.351 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.366, allocations: 0 / 1.351 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.559e-05/1.366, allocations: 7.078 kB / 1.351 GB, free: 2.316 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.002007/1.368, allocations: 1.582 MB / 1.353 GB, free: 17.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/1.368, allocations: 11.69 kB / 1.353 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/1.37, allocations: 280.8 kB / 1.353 GB, free: 17.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/1.371, allocations: 0.817 MB / 1.354 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/1.371, allocations: 74 kB / 1.354 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/1.371, allocations: 97.66 kB / 1.354 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.372, allocations: 0.9838 MB / 1.355 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.372, allocations: 4.938 kB / 1.355 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/1.372, allocations: 40.14 kB / 1.355 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/1.372, allocations: 24.06 kB / 1.355 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000833/1.373, allocations: 0.639 MB / 1.356 GB, free: 16.81 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.004087/1.377, allocations: 4.391 MB / 1.36 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/1.377, allocations: 252.4 kB / 1.36 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/1.378, allocations: 129.2 kB / 1.361 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/1.378, allocations: 307.7 kB / 1.361 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/1.378, allocations: 41.78 kB / 1.361 GB, free: 13.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.104e-06/1.378, allocations: 0 / 1.361 GB, free: 13.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0008435/1.379, allocations: 481.5 kB / 1.361 GB, free: 13.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.379, allocations: 56.14 kB / 1.361 GB, free: 13.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.38, allocations: 1.08 MB / 1.362 GB, free: 12.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/1.38, allocations: 36.64 kB / 1.363 GB, free: 12.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/1.381, allocations: 0.5905 MB / 1.363 GB, free: 12.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.381, allocations: 115.5 kB / 1.363 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/1.381, allocations: 105.5 kB / 1.363 GB, free: 12.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.381, allocations: 335.9 kB / 1.364 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/1.381, allocations: 136.8 kB / 1.364 GB, free: 11.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/1.382, allocations: 401.2 kB / 1.364 GB, free: 11.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/1.382, allocations: 0.4925 MB / 1.365 GB, free: 11.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.382, allocations: 6.5 kB / 1.365 GB, free: 11.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008716/1.383, allocations: 0.5959 MB / 1.365 GB, free: 10.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.383, allocations: 8.031 kB / 1.365 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.383, allocations: 5.594 kB / 1.365 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.383, allocations: 11.62 kB / 1.365 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/1.384, allocations: 173.3 kB / 1.365 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/1.386, allocations: 2.351 MB / 1.368 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/1.386, allocations: 119.9 kB / 1.368 GB, free: 8.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/1.386, allocations: 30 kB / 1.368 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005313/1.387, allocations: 364.9 kB / 1.368 GB, free: 8.363 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004129/1.387, allocations: 395.1 kB / 1.369 GB, free: 7.996 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005789/1.388, allocations: 0.4933 MB / 1.369 GB, free: 7.621 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.388, allocations: 2.219 kB / 1.369 GB, free: 7.621 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0007992/1.389, allocations: 0.5903 MB / 1.37 GB, free: 7.402 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.389, allocations: 8.938 kB / 1.37 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.389, allocations: 6.188 kB / 1.37 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/1.389, allocations: 13.5 kB / 1.37 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/1.389, allocations: 121.1 kB / 1.37 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.389, allocations: 17.06 kB / 1.37 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/1.39, allocations: 82.73 kB / 1.37 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/1.39, allocations: 32.94 kB / 1.37 GB, free: 7.355 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.0002019/1.39, allocations: 213.9 kB / 1.37 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.39, allocations: 113 kB / 1.37 GB, free: 7.102 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/1.391, allocations: 413.1 kB / 1.371 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.391, allocations: 6.031 kB / 1.371 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.391, allocations: 0 / 1.371 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.391, allocations: 5.484 kB / 1.371 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/1.393, allocations: 1.303 MB / 1.372 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.393, allocations: 4.875 kB / 1.372 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/1.393, allocations: 87.27 kB / 1.372 GB, free: 6.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.393, allocations: 9.219 kB / 1.372 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/1.393, allocations: 11.5 kB / 1.372 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/1.395, allocations: 2.342 MB / 1.374 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.395, allocations: 5.625 kB / 1.374 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/1.395, allocations: 0.68 MB / 1.375 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/1.396, allocations: 217.8 kB / 1.375 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.396, allocations: 8.906 kB / 1.375 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/1.396, allocations: 53.03 kB / 1.375 GB, free: 3.207 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/1.396, allocations: 31.44 kB / 1.375 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/1.396, allocations: 8.5 kB / 1.375 GB, free: 3.199 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008411/1.397, allocations: 0.7406 MB / 1.376 GB, free: 2.906 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.397, allocations: 0 / 1.376 GB, free: 2.906 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001144/1.398, allocations: 493 kB / 1.376 GB, free: 2.828 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.0004659/1.399, allocations: 203.9 kB / 1.377 GB, free: 2.715 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001429/1.4, allocations: 0.6592 MB / 1.377 GB, free: 2.551 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.4, allocations: 1.875 kB / 1.377 GB, free: 2.551 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/1.401, allocations: 170.6 kB / 1.377 GB, free: 2.516 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.403, allocations: 0.6317 MB / 1.378 GB, free: 2.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/1.407, allocations: 2.246 MB / 1.38 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009564/1.408, allocations: 1.104 MB / 1.381 GB, free: 124 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001052/1.409, allocations: 247.5 kB / 1.382 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/1.409, allocations: 73.7 kB / 1.382 GB, free: 52 kB / 1.014 GB Notification: Performance of SimCode: time 2.244e-06/1.409, allocations: 0 / 1.382 GB, free: 52 kB / 1.014 GB Notification: Performance of Templates: time 0.03662/1.446, allocations: 19.53 MB / 1.401 GB, free: 7.789 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Templates.Components.Validation.Sensors.makefile (rm -f Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.Sensors.sim & ./Buildings_11_Buildings.Templates.Components.Validation.Sensors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches