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.001531/0.001531, 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.00239/0.00239, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.561/1.561, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.674/2.674, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8464/0.8479, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9449/1.793, allocations: 258.8 MB / 1.269 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.814, allocations: 18.99 MB / 1.288 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/1.816, allocations: 45.06 kB / 1.288 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002464/1.819, allocations: 0.65 MB / 1.289 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005335/1.824, allocations: 1.7 MB / 1.29 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003961/1.828, allocations: 1.334 MB / 1.292 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00438/1.833, allocations: 3.09 MB / 1.295 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/1.834, allocations: 1.181 MB / 1.296 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/1.842, allocations: 3.121 MB / 1.299 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/1.843, allocations: 1.045 MB / 1.3 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/1.844, allocations: 104.3 kB / 1.3 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/1.847, allocations: 1.575 MB / 1.302 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004318/1.847, allocations: 427.1 kB / 1.302 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00077/1.848, allocations: 0.701 MB / 1.303 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/1.851, allocations: 2.139 MB / 1.305 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.851, allocations: 0.8125 kB / 1.305 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/1.851, allocations: 0 / 1.305 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.558e-05/1.851, allocations: 3.938 kB / 1.305 GB, free: 1.434 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.00199/1.853, allocations: 1.567 MB / 1.306 GB, free: 16.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.853, allocations: 14.2 kB / 1.306 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.854, allocations: 278.2 kB / 1.307 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/1.855, allocations: 0.8223 MB / 1.307 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/1.855, allocations: 77.31 kB / 1.307 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/1.855, allocations: 92.91 kB / 1.308 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/1.857, allocations: 0.9848 MB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.857, allocations: 0 / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/1.857, allocations: 39.34 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/1.857, allocations: 21.88 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/1.858, allocations: 0.6469 MB / 1.309 GB, free: 15.95 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.003878/1.862, allocations: 4.372 MB / 1.313 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/1.862, allocations: 245.9 kB / 1.314 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/1.862, allocations: 138.7 kB / 1.314 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/1.863, allocations: 314.5 kB / 1.314 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.863, allocations: 33.84 kB / 1.314 GB, free: 12.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/1.863, allocations: 0 / 1.314 GB, free: 12.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0009527/1.864, allocations: 480.4 kB / 1.315 GB, free: 12.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/1.864, allocations: 59.72 kB / 1.315 GB, free: 12.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.865, allocations: 1.068 MB / 1.316 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/1.865, allocations: 33.58 kB / 1.316 GB, free: 12.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/1.866, allocations: 0.5784 MB / 1.316 GB, free: 12.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/1.866, allocations: 116.7 kB / 1.316 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.866, allocations: 106.7 kB / 1.317 GB, free: 12.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.866, allocations: 325.6 kB / 1.317 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.866, allocations: 139 kB / 1.317 GB, free: 11.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/1.866, allocations: 404.8 kB / 1.317 GB, free: 11.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/1.867, allocations: 0.4995 MB / 1.318 GB, free: 11.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.867, allocations: 0.875 kB / 1.318 GB, free: 11.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007702/1.868, allocations: 0.5957 MB / 1.318 GB, free: 11.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.868, allocations: 9.531 kB / 1.318 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/1.868, allocations: 6.875 kB / 1.318 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.868, allocations: 10.19 kB / 1.318 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/1.869, allocations: 178.4 kB / 1.319 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/1.87, allocations: 2.357 MB / 1.321 GB, free: 8.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/1.871, allocations: 116.2 kB / 1.321 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/1.871, allocations: 30.55 kB / 1.321 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004388/1.871, allocations: 365 kB / 1.321 GB, free: 8.805 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003494/1.872, allocations: 393.9 kB / 1.322 GB, free: 8.492 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004998/1.872, allocations: 498 kB / 1.322 GB, free: 8.246 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/1.872, allocations: 7.562 kB / 1.322 GB, free: 8.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0007342/1.873, allocations: 0.5829 MB / 1.323 GB, free: 8.145 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.873, allocations: 11.38 kB / 1.323 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.873, allocations: 6.125 kB / 1.323 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/1.873, allocations: 10.16 kB / 1.323 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/1.873, allocations: 119.8 kB / 1.323 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.873, allocations: 15.25 kB / 1.323 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/1.874, allocations: 85.56 kB / 1.323 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/1.874, allocations: 32.12 kB / 1.323 GB, free: 8.113 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.0001483/1.874, allocations: 222 kB / 1.323 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/1.874, allocations: 116.5 kB / 1.323 GB, free: 7.859 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/1.875, allocations: 406.1 kB / 1.324 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.875, allocations: 6.5 kB / 1.324 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.875, allocations: 0 / 1.324 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.875, allocations: 0 / 1.324 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/1.877, allocations: 1.299 MB / 1.325 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.877, allocations: 2.688 kB / 1.325 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/1.877, allocations: 93.09 kB / 1.325 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.877, allocations: 2.781 kB / 1.325 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/1.877, allocations: 10.91 kB / 1.325 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/1.878, allocations: 2.35 MB / 1.327 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.878, allocations: 8.594 kB / 1.327 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/1.879, allocations: 0.6604 MB / 1.328 GB, free: 4.766 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/1.879, allocations: 213 kB / 1.328 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.879, allocations: 13.58 kB / 1.328 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/1.88, allocations: 42.62 kB / 1.328 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/1.88, allocations: 29.75 kB / 1.328 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/1.88, allocations: 17.33 kB / 1.328 GB, free: 4.598 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008085/1.881, allocations: 0.7327 MB / 1.329 GB, free: 4.488 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.881, allocations: 0 / 1.329 GB, free: 4.488 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001201/1.882, allocations: 490.9 kB / 1.33 GB, free: 4.434 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.0004792/1.882, allocations: 213.3 kB / 1.33 GB, free: 4.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001425/1.884, allocations: 0.6509 MB / 1.33 GB, free: 4.305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.884, allocations: 0 / 1.33 GB, free: 4.305 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/1.884, allocations: 172.9 kB / 1.331 GB, free: 4.301 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.887, allocations: 0.5858 MB / 1.331 GB, free: 4.188 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/1.889, allocations: 2.224 MB / 1.333 GB, free: 2.891 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/1.89, allocations: 1.099 MB / 1.334 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008458/1.891, allocations: 240.5 kB / 1.335 GB, free: 2.121 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/1.891, allocations: 69.19 kB / 1.335 GB, free: 2.117 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.891, allocations: 4 kB / 1.335 GB, free: 2.113 MB / 1.014 GB Notification: Performance of Templates: time 0.03431/1.925, allocations: 19.1 MB / 1.353 GB, free: 15.21 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