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.01371/0.01371, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001858/0.001859, allocations: 195.1 kB / 16.68 MB, free: 5.969 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.598/2.598, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.89 kB / 1.018 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.3098/1.385, allocations: 261.9 MB / 1.422 GB, free: 12.94 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02457/1.41, allocations: 19.12 MB / 1.441 GB, free: 9.762 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/1.412, allocations: 47.69 kB / 1.441 GB, free: 9.715 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/1.415, allocations: 0.7608 MB / 1.442 GB, free: 8.949 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006631/1.422, allocations: 1.892 MB / 1.444 GB, free: 7.051 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005002/1.427, allocations: 1.477 MB / 1.445 GB, free: 5.574 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006193/1.433, allocations: 3.102 MB / 1.448 GB, free: 2.461 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/1.436, allocations: 1.242 MB / 1.449 GB, free: 1.195 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/1.447, allocations: 3.284 MB / 1.453 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/1.45, allocations: 0.9842 MB / 1.453 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/1.45, allocations: 104 kB / 1.454 GB, free: 12.81 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/1.455, allocations: 1.524 MB / 1.455 GB, free: 11.29 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007166/1.456, allocations: 426.6 kB / 1.455 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/1.457, allocations: 0.6998 MB / 1.456 GB, free: 10.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004133/1.461, allocations: 2.051 MB / 1.458 GB, free: 8.105 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.461, allocations: 0 / 1.458 GB, free: 8.105 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.114e-06/1.461, allocations: 0 / 1.458 GB, free: 8.105 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.723e-05/1.461, allocations: 4 kB / 1.458 GB, free: 8.102 MB / 1.186 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.002502/1.464, allocations: 1.618 MB / 1.46 GB, free: 6.426 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.464, allocations: 12.88 kB / 1.46 GB, free: 6.414 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/1.465, allocations: 286.9 kB / 1.46 GB, free: 6.133 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/1.467, allocations: 0.8711 MB / 1.461 GB, free: 5.219 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/1.467, allocations: 74 kB / 1.461 GB, free: 5.148 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/1.467, allocations: 92 kB / 1.461 GB, free: 5.059 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/1.469, allocations: 0.9993 MB / 1.462 GB, free: 3.992 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/1.469, allocations: 11.88 kB / 1.462 GB, free: 3.98 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/1.469, allocations: 43.98 kB / 1.462 GB, free: 3.938 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/1.469, allocations: 24 kB / 1.462 GB, free: 3.914 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009935/1.47, allocations: 0.6517 MB / 1.463 GB, free: 3.266 MB / 1.186 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.004534/1.474, allocations: 4.698 MB / 1.467 GB, free: 14.23 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/1.475, allocations: 254.8 kB / 1.468 GB, free: 13.98 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/1.475, allocations: 132.8 kB / 1.468 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/1.476, allocations: 311.2 kB / 1.468 GB, free: 13.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.476, allocations: 30.56 kB / 1.468 GB, free: 13.45 MB / 1.201 GB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/1.476, allocations: 0 / 1.468 GB, free: 13.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.0009951/1.477, allocations: 488.8 kB / 1.468 GB, free: 12.96 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.477, allocations: 67.22 kB / 1.469 GB, free: 12.88 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/1.478, allocations: 1.083 MB / 1.47 GB, free: 11.79 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/1.478, allocations: 33.7 kB / 1.47 GB, free: 11.75 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/1.478, allocations: 0.5944 MB / 1.47 GB, free: 11.15 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.479, allocations: 115.1 kB / 1.47 GB, free: 11.04 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.479, allocations: 114.2 kB / 1.47 GB, free: 10.92 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.479, allocations: 330 kB / 1.471 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/1.479, allocations: 143 kB / 1.471 GB, free: 10.45 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/1.48, allocations: 429.3 kB / 1.471 GB, free: 9.906 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/1.48, allocations: 0.5308 MB / 1.472 GB, free: 9.273 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.48, allocations: 4 kB / 1.472 GB, free: 9.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009322/1.481, allocations: 0.6331 MB / 1.472 GB, free: 8.629 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.481, allocations: 15.88 kB / 1.472 GB, free: 8.613 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.481, allocations: 8 kB / 1.472 GB, free: 8.605 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/1.481, allocations: 15.98 kB / 1.472 GB, free: 8.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/1.482, allocations: 180.4 kB / 1.473 GB, free: 8.414 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/1.484, allocations: 2.356 MB / 1.475 GB, free: 5.965 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/1.484, allocations: 87.3 kB / 1.475 GB, free: 5.879 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/1.484, allocations: 35.98 kB / 1.475 GB, free: 5.844 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005763/1.485, allocations: 369.1 kB / 1.475 GB, free: 5.48 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004468/1.485, allocations: 425.7 kB / 1.476 GB, free: 4.938 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006405/1.486, allocations: 0.5235 MB / 1.476 GB, free: 4.312 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/1.486, allocations: 4 kB / 1.476 GB, free: 4.309 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008828/1.487, allocations: 0.6137 MB / 1.477 GB, free: 3.688 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.487, allocations: 12 kB / 1.477 GB, free: 3.676 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.487, allocations: 4 kB / 1.477 GB, free: 3.672 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.487, allocations: 15.94 kB / 1.477 GB, free: 3.656 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.487, allocations: 128.4 kB / 1.477 GB, free: 3.531 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.487, allocations: 16 kB / 1.477 GB, free: 3.516 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/1.488, allocations: 59.7 kB / 1.477 GB, free: 3.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/1.488, allocations: 28 kB / 1.477 GB, free: 3.43 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (67): * Single equations (assignments): 63 * 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.0001816/1.488, allocations: 224 kB / 1.477 GB, free: 3.203 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.488, allocations: 119.2 kB / 1.478 GB, free: 3.086 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/1.489, allocations: 409 kB / 1.478 GB, free: 2.676 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/1.489, allocations: 4 kB / 1.478 GB, free: 2.672 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.489, allocations: 3.938 kB / 1.478 GB, free: 2.668 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.489, allocations: 0 / 1.478 GB, free: 2.668 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/1.491, allocations: 1.291 MB / 1.479 GB, free: 1.293 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.491, allocations: 4 kB / 1.479 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/1.491, allocations: 83.81 kB / 1.479 GB, free: 1.207 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.491, allocations: 4 kB / 1.479 GB, free: 1.203 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/1.491, allocations: 12.31 kB / 1.479 GB, free: 1.191 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/1.493, allocations: 2.352 MB / 1.482 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.493, allocations: 3.938 kB / 1.482 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/1.493, allocations: 0.6739 MB / 1.482 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/1.494, allocations: 224.2 kB / 1.482 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.494, allocations: 8 kB / 1.482 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/1.494, allocations: 15.94 kB / 1.482 GB, free: 13.76 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/1.494, allocations: 23.97 kB / 1.482 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/1.494, allocations: 16 kB / 1.483 GB, free: 13.72 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009277/1.495, allocations: 0.737 MB / 1.483 GB, free: 12.98 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.495, allocations: 0 / 1.483 GB, free: 12.98 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001299/1.497, allocations: 499.2 kB / 1.484 GB, free: 12.49 MB / 1.217 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.0004908/1.497, allocations: 216 kB / 1.484 GB, free: 12.28 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001575/1.499, allocations: 0.6776 MB / 1.485 GB, free: 11.61 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.499, allocations: 3.938 kB / 1.485 GB, free: 11.61 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/1.499, allocations: 165.3 kB / 1.485 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.502, allocations: 0.5876 MB / 1.485 GB, free: 10.87 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/1.505, allocations: 1.866 MB / 1.487 GB, free: 8.938 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/1.505, allocations: 1.103 MB / 1.488 GB, free: 7.805 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008137/1.506, allocations: 249.4 kB / 1.488 GB, free: 7.559 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.506, allocations: 71.44 kB / 1.489 GB, free: 7.488 MB / 1.217 GB Notification: Performance of SimCode: time 5.21e-07/1.506, allocations: 0 / 1.489 GB, free: 7.488 MB / 1.217 GB Notification: Performance of Templates: time 0.03564/1.542, allocations: 19.4 MB / 1.507 GB, free: 4.375 MB / 1.232 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