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.001653/0.001653, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001628/0.001628, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.492/1.492, allocations: 222.9 MB / 241 MB, free: 15.15 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.516/2.516, allocations: 437 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 63.91 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.3228/1.43, allocations: 261.9 MB / 1.423 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02718/1.457, allocations: 19.12 MB / 1.442 GB, free: 9.871 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/1.46, allocations: 47.69 kB / 1.442 GB, free: 9.824 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003098/1.463, allocations: 0.7686 MB / 1.442 GB, free: 9.051 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006754/1.47, allocations: 1.899 MB / 1.444 GB, free: 7.145 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/1.475, allocations: 1.475 MB / 1.446 GB, free: 5.672 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005884/1.481, allocations: 3.096 MB / 1.449 GB, free: 2.562 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/1.484, allocations: 1.245 MB / 1.45 GB, free: 1.293 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/1.495, allocations: 3.279 MB / 1.453 GB, free: 14.01 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/1.498, allocations: 0.9842 MB / 1.454 GB, free: 13.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000575/1.498, allocations: 104 kB / 1.454 GB, free: 12.91 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/1.502, allocations: 1.528 MB / 1.456 GB, free: 11.38 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008886/1.503, allocations: 422.7 kB / 1.456 GB, free: 10.97 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001979/1.505, allocations: 0.6959 MB / 1.457 GB, free: 10.27 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005268/1.511, allocations: 2.045 MB / 1.459 GB, free: 8.219 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.511, allocations: 0 / 1.459 GB, free: 8.219 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.873e-06/1.511, allocations: 0 / 1.459 GB, free: 8.219 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.484e-05/1.511, allocations: 4 kB / 1.459 GB, free: 8.215 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.004062/1.515, allocations: 1.573 MB / 1.46 GB, free: 6.586 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.515, allocations: 11.98 kB / 1.46 GB, free: 6.574 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.517, allocations: 282.1 kB / 1.461 GB, free: 6.297 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/1.519, allocations: 0.8701 MB / 1.462 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/1.519, allocations: 73.98 kB / 1.462 GB, free: 5.312 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.519, allocations: 96 kB / 1.462 GB, free: 5.219 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/1.521, allocations: 0.9993 MB / 1.463 GB, free: 4.152 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/1.521, allocations: 7.938 kB / 1.463 GB, free: 4.145 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/1.521, allocations: 40 kB / 1.463 GB, free: 4.105 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/1.522, allocations: 24 kB / 1.463 GB, free: 4.082 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/1.523, allocations: 0.644 MB / 1.463 GB, free: 3.441 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.006023/1.529, allocations: 4.693 MB / 1.468 GB, free: 14.41 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/1.529, allocations: 250.8 kB / 1.468 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/1.53, allocations: 132.8 kB / 1.468 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/1.53, allocations: 307.2 kB / 1.469 GB, free: 13.67 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.53, allocations: 30.56 kB / 1.469 GB, free: 13.63 MB / 1.201 GB Notification: Performance of pre-optimization done (n=29): time 2.856e-06/1.53, allocations: 0 / 1.469 GB, free: 13.63 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.001146/1.531, allocations: 484.2 kB / 1.469 GB, free: 13.15 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.531, allocations: 63.28 kB / 1.469 GB, free: 13.08 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/1.533, allocations: 1.083 MB / 1.47 GB, free: 11.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/1.533, allocations: 41.7 kB / 1.47 GB, free: 11.94 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005059/1.534, allocations: 0.5778 MB / 1.471 GB, free: 11.36 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.534, allocations: 114.4 kB / 1.471 GB, free: 11.24 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.534, allocations: 114.1 kB / 1.471 GB, free: 11.12 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.534, allocations: 330 kB / 1.471 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/1.534, allocations: 147 kB / 1.471 GB, free: 10.65 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/1.535, allocations: 425.3 kB / 1.472 GB, free: 10.11 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/1.536, allocations: 0.5387 MB / 1.472 GB, free: 9.469 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.536, allocations: 11.94 kB / 1.472 GB, free: 9.457 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001142/1.537, allocations: 0.6131 MB / 1.473 GB, free: 8.836 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.537, allocations: 11.94 kB / 1.473 GB, free: 8.824 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/1.537, allocations: 8.078 kB / 1.473 GB, free: 8.816 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.537, allocations: 12 kB / 1.473 GB, free: 8.805 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009039/1.538, allocations: 188.3 kB / 1.473 GB, free: 8.621 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/1.539, allocations: 2.352 MB / 1.476 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/1.54, allocations: 87.05 kB / 1.476 GB, free: 6.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/1.54, allocations: 32 kB / 1.476 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006227/1.541, allocations: 371.2 kB / 1.476 GB, free: 5.695 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004578/1.541, allocations: 425.7 kB / 1.476 GB, free: 5.152 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000665/1.542, allocations: 0.5258 MB / 1.477 GB, free: 4.523 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.837e-06/1.542, allocations: 8 kB / 1.477 GB, free: 4.516 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00104/1.543, allocations: 0.6069 MB / 1.478 GB, free: 3.902 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.543, allocations: 12 kB / 1.478 GB, free: 3.891 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.543, allocations: 4 kB / 1.478 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.543, allocations: 12 kB / 1.478 GB, free: 3.875 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/1.543, allocations: 127.8 kB / 1.478 GB, free: 3.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.543, allocations: 12.47 kB / 1.478 GB, free: 3.738 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/1.544, allocations: 59.61 kB / 1.478 GB, free: 3.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/1.544, allocations: 28 kB / 1.478 GB, free: 3.652 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.0002314/1.544, allocations: 224 kB / 1.478 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/1.545, allocations: 118.6 kB / 1.478 GB, free: 3.309 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/1.546, allocations: 409.1 kB / 1.478 GB, free: 2.898 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.546, allocations: 4 kB / 1.478 GB, free: 2.895 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.546, allocations: 3.938 kB / 1.478 GB, free: 2.891 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.546, allocations: 0 / 1.478 GB, free: 2.891 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/1.548, allocations: 1.295 MB / 1.48 GB, free: 1.512 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.548, allocations: 4 kB / 1.48 GB, free: 1.508 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/1.548, allocations: 83.81 kB / 1.48 GB, free: 1.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/1.549, allocations: 4 kB / 1.48 GB, free: 1.422 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/1.549, allocations: 12 kB / 1.48 GB, free: 1.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/1.55, allocations: 2.348 MB / 1.482 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.55, allocations: 3.938 kB / 1.482 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/1.551, allocations: 0.6693 MB / 1.483 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/1.551, allocations: 219.7 kB / 1.483 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/1.551, allocations: 8 kB / 1.483 GB, free: 14.01 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/1.552, allocations: 19.89 kB / 1.483 GB, free: 13.99 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/1.552, allocations: 15.98 kB / 1.483 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/1.552, allocations: 16 kB / 1.483 GB, free: 13.96 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001151/1.553, allocations: 0.7409 MB / 1.484 GB, free: 13.21 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.31e-07/1.553, allocations: 0 / 1.484 GB, free: 13.21 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001672/1.555, allocations: 491 kB / 1.484 GB, free: 12.73 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.0005535/1.555, allocations: 211.8 kB / 1.484 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001819/1.557, allocations: 0.6779 MB / 1.485 GB, free: 11.85 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.557, allocations: 3.938 kB / 1.485 GB, free: 11.85 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/1.558, allocations: 173.3 kB / 1.485 GB, free: 11.68 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/1.56, allocations: 0.5856 MB / 1.486 GB, free: 11.11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/1.564, allocations: 1.89 MB / 1.488 GB, free: 9.148 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/1.565, allocations: 1.111 MB / 1.489 GB, free: 8.008 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.565, allocations: 75.44 kB / 1.489 GB, free: 7.934 MB / 1.217 GB Notification: Performance of SimCode: time 1.403e-06/1.565, allocations: 0 / 1.489 GB, free: 7.934 MB / 1.217 GB Notification: Performance of Templates: time 0.0485/1.614, allocations: 35.77 MB / 1.524 GB, free: 4.305 MB / 1.248 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches