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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001016/0.001016, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00656/0.00656, allocations: 169.6 kB / 16.27 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 462.6 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 12 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3791, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 1.057/1.436, allocations: 256.3 MB / 1.309 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02054/1.457, allocations: 18.96 MB / 1.328 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/1.459, allocations: 45.95 kB / 1.328 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/1.462, allocations: 0.6169 MB / 1.328 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006267/1.468, allocations: 1.716 MB / 1.33 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004304/1.472, allocations: 1.302 MB / 1.331 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009616/1.482, allocations: 4.541 MB / 1.336 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/1.485, allocations: 0.9696 MB / 1.336 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00842/1.493, allocations: 2.894 MB / 1.339 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/1.495, allocations: 0.9939 MB / 1.34 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/1.495, allocations: 48.41 kB / 1.34 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/1.498, allocations: 1.713 MB / 1.342 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/1.499, allocations: 366.6 kB / 1.342 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009419/1.5, allocations: 0.6604 MB / 1.343 GB, free: 17.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/1.502, allocations: 2.066 MB / 1.345 GB, free: 17.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.502, allocations: 2.906 kB / 1.345 GB, free: 17.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.194e-06/1.502, allocations: 0 / 1.345 GB, free: 17.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.452e-05/1.502, allocations: 0 / 1.345 GB, free: 17.18 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.001874/1.504, allocations: 1.36 MB / 1.346 GB, free: 16.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.504, allocations: 8.656 kB / 1.346 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/1.505, allocations: 285.2 kB / 1.347 GB, free: 16.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/1.507, allocations: 0.8269 MB / 1.347 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/1.507, allocations: 72.12 kB / 1.347 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.507, allocations: 93.72 kB / 1.348 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/1.508, allocations: 0.9829 MB / 1.349 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.508, allocations: 2.094 kB / 1.349 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/1.509, allocations: 35.03 kB / 1.349 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.509, allocations: 26.75 kB / 1.349 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000887/1.509, allocations: 0.6471 MB / 1.349 GB, free: 15.7 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.004184/1.514, allocations: 4.392 MB / 1.354 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/1.514, allocations: 250.8 kB / 1.354 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/1.514, allocations: 130.2 kB / 1.354 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/1.515, allocations: 322.3 kB / 1.354 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/1.515, allocations: 41.91 kB / 1.354 GB, free: 12.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/1.515, allocations: 0 / 1.354 GB, free: 12.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0009582/1.516, allocations: 488.2 kB / 1.355 GB, free: 12.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.516, allocations: 56.62 kB / 1.355 GB, free: 12.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/1.517, allocations: 1.086 MB / 1.356 GB, free: 12.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/1.517, allocations: 33.95 kB / 1.356 GB, free: 12.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/1.518, allocations: 0.5833 MB / 1.356 GB, free: 12.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/1.518, allocations: 106.4 kB / 1.357 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/1.518, allocations: 45.47 kB / 1.357 GB, free: 11.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.518, allocations: 331.9 kB / 1.357 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/1.518, allocations: 133.7 kB / 1.357 GB, free: 11.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/1.519, allocations: 402.6 kB / 1.357 GB, free: 11.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/1.519, allocations: 0.5058 MB / 1.358 GB, free: 11.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.519, allocations: 2.656 kB / 1.358 GB, free: 11.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007972/1.52, allocations: 0.5822 MB / 1.358 GB, free: 10.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/1.52, allocations: 289.3 kB / 1.359 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.52, allocations: 6.281 kB / 1.359 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.52, allocations: 15.47 kB / 1.359 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/1.521, allocations: 174.2 kB / 1.359 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/1.523, allocations: 2.349 MB / 1.361 GB, free: 8.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/1.523, allocations: 124.8 kB / 1.361 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/1.523, allocations: 35.39 kB / 1.361 GB, free: 8.238 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/1.523, allocations: 9.469 kB / 1.361 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000652/1.524, allocations: 457 kB / 1.362 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.524, allocations: 10.16 kB / 1.362 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/1.524, allocations: 11.09 kB / 1.362 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/1.524, allocations: 119.7 kB / 1.362 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.524, allocations: 12.62 kB / 1.362 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/1.525, allocations: 121.6 kB / 1.362 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/1.525, allocations: 30.8 kB / 1.362 GB, free: 8.172 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.0003881/1.525, allocations: 362.3 kB / 1.362 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.526, allocations: 114.8 kB / 1.363 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/1.526, allocations: 413.6 kB / 1.363 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.526, allocations: 3.594 kB / 1.363 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.526, allocations: 0 / 1.363 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.526, allocations: 3.281 kB / 1.363 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/1.528, allocations: 1.299 MB / 1.364 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.528, allocations: 2.906 kB / 1.364 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/1.529, allocations: 88.61 kB / 1.364 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.529, allocations: 2.438 kB / 1.364 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.529, allocations: 9.594 kB / 1.364 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/1.53, allocations: 2.35 MB / 1.367 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.53, allocations: 2.938 kB / 1.367 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/1.53, allocations: 0.6596 MB / 1.367 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/1.531, allocations: 225.2 kB / 1.367 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.531, allocations: 10.34 kB / 1.367 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/1.531, allocations: 52.12 kB / 1.368 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/1.531, allocations: 23.78 kB / 1.368 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/1.531, allocations: 17.69 kB / 1.368 GB, free: 4.656 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008055/1.532, allocations: 0.74 MB / 1.368 GB, free: 4.547 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.3e-07/1.532, allocations: 0 / 1.368 GB, free: 4.547 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001153/1.533, allocations: 489.2 kB / 1.369 GB, free: 4.492 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.0004888/1.534, allocations: 214.1 kB / 1.369 GB, free: 4.375 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.535, allocations: 0.6405 MB / 1.37 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.535, allocations: 0 / 1.37 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/1.535, allocations: 187.7 kB / 1.37 GB, free: 4.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/1.538, allocations: 0.5973 MB / 1.37 GB, free: 4.293 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/1.541, allocations: 2.315 MB / 1.373 GB, free: 2.957 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/1.542, allocations: 1.115 MB / 1.374 GB, free: 2.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008138/1.543, allocations: 236.2 kB / 1.374 GB, free: 2.176 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.543, allocations: 74.55 kB / 1.374 GB, free: 2.168 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.543, allocations: 2.438 kB / 1.374 GB, free: 2.168 MB / 1.014 GB Notification: Performance of Templates: time 0.03374/1.577, allocations: 18.78 MB / 1.392 GB, free: 9.516 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches