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.006609/0.006609, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001223/0.001223, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.57/1.57, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.805/2.805, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3435, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9927/1.336, allocations: 261.9 MB / 1.422 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02356/1.36, allocations: 19.12 MB / 1.441 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/1.362, allocations: 43.75 kB / 1.441 GB, free: 11.32 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/1.365, allocations: 0.7569 MB / 1.442 GB, free: 10.56 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/1.371, allocations: 1.8 MB / 1.444 GB, free: 8.75 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/1.375, allocations: 1.473 MB / 1.445 GB, free: 7.281 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004558/1.38, allocations: 3.088 MB / 1.448 GB, free: 4.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/1.382, allocations: 1.23 MB / 1.449 GB, free: 2.93 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008647/1.39, allocations: 3.19 MB / 1.452 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/1.392, allocations: 0.9842 MB / 1.453 GB, free: 14.75 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/1.392, allocations: 100 kB / 1.453 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/1.395, allocations: 1.524 MB / 1.455 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000433/1.396, allocations: 430.6 kB / 1.455 GB, free: 12.7 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009145/1.397, allocations: 0.6998 MB / 1.456 GB, free: 12 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00331/1.4, allocations: 2.055 MB / 1.458 GB, free: 9.938 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.4, allocations: 0 / 1.458 GB, free: 9.938 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.313e-06/1.4, allocations: 0 / 1.458 GB, free: 9.938 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.531e-05/1.4, allocations: 0 / 1.458 GB, free: 9.938 MB / 1.123 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.002206/1.402, allocations: 1.61 MB / 1.46 GB, free: 8.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.402, allocations: 15.98 kB / 1.46 GB, free: 8.254 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/1.404, allocations: 282.8 kB / 1.46 GB, free: 7.977 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/1.405, allocations: 0.8866 MB / 1.461 GB, free: 7.047 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/1.405, allocations: 74 kB / 1.461 GB, free: 6.977 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.406, allocations: 92 kB / 1.461 GB, free: 6.887 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/1.407, allocations: 0.9993 MB / 1.462 GB, free: 5.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/1.407, allocations: 7.938 kB / 1.462 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/1.407, allocations: 39.94 kB / 1.462 GB, free: 5.773 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.407, allocations: 24 kB / 1.462 GB, free: 5.75 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.408, allocations: 0.6517 MB / 1.463 GB, free: 5.102 MB / 1.123 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.004517/1.413, allocations: 4.698 MB / 1.467 GB, free: 72 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/1.413, allocations: 251.4 kB / 1.467 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/1.413, allocations: 133.7 kB / 1.467 GB, free: 15.68 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005971/1.414, allocations: 311.1 kB / 1.468 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.414, allocations: 34.56 kB / 1.468 GB, free: 15.28 MB / 1.139 GB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/1.414, allocations: 0 / 1.468 GB, free: 15.28 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.0009732/1.415, allocations: 486.3 kB / 1.468 GB, free: 14.8 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/1.415, allocations: 59.34 kB / 1.468 GB, free: 14.73 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/1.416, allocations: 1.09 MB / 1.469 GB, free: 13.63 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/1.416, allocations: 29.7 kB / 1.469 GB, free: 13.59 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/1.417, allocations: 0.5983 MB / 1.47 GB, free: 12.99 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/1.417, allocations: 107.1 kB / 1.47 GB, free: 12.89 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/1.417, allocations: 122.1 kB / 1.47 GB, free: 12.76 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.417, allocations: 326 kB / 1.471 GB, free: 12.44 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/1.418, allocations: 143 kB / 1.471 GB, free: 12.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/1.418, allocations: 429.5 kB / 1.471 GB, free: 11.75 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/1.419, allocations: 0.5329 MB / 1.472 GB, free: 11.11 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.419, allocations: 0 / 1.472 GB, free: 11.11 MB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009357/1.42, allocations: 0.6292 MB / 1.472 GB, free: 10.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.42, allocations: 15.98 kB / 1.472 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.42, allocations: 7.938 kB / 1.472 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.42, allocations: 12 kB / 1.472 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/1.421, allocations: 176.8 kB / 1.472 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/1.422, allocations: 2.352 MB / 1.475 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/1.422, allocations: 91.28 kB / 1.475 GB, free: 7.738 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/1.423, allocations: 31.94 kB / 1.475 GB, free: 7.707 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005403/1.423, allocations: 377.1 kB / 1.475 GB, free: 7.336 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004384/1.424, allocations: 433.5 kB / 1.476 GB, free: 6.785 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006129/1.424, allocations: 0.527 MB / 1.476 GB, free: 6.156 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/1.424, allocations: 0 / 1.476 GB, free: 6.156 MB / 1.139 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008895/1.425, allocations: 0.6199 MB / 1.477 GB, free: 5.531 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.425, allocations: 8 kB / 1.477 GB, free: 5.523 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.425, allocations: 8 kB / 1.477 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/1.425, allocations: 12 kB / 1.477 GB, free: 5.504 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/1.426, allocations: 129.2 kB / 1.477 GB, free: 5.379 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.426, allocations: 15.94 kB / 1.477 GB, free: 5.363 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005397/1.426, allocations: 55.77 kB / 1.477 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/1.426, allocations: 31.94 kB / 1.477 GB, free: 5.277 MB / 1.139 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.0001749/1.426, allocations: 216.1 kB / 1.477 GB, free: 5.059 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/1.427, allocations: 115.2 kB / 1.477 GB, free: 4.945 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/1.427, allocations: 416.9 kB / 1.478 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.427, allocations: 11.92 kB / 1.478 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.427, allocations: 0 / 1.478 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.427, allocations: 3.938 kB / 1.478 GB, free: 4.512 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/1.429, allocations: 1.294 MB / 1.479 GB, free: 3.137 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.429, allocations: 4 kB / 1.479 GB, free: 3.133 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/1.43, allocations: 87.94 kB / 1.479 GB, free: 3.047 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.43, allocations: 4 kB / 1.479 GB, free: 3.043 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/1.43, allocations: 8.312 kB / 1.479 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/1.431, allocations: 2.356 MB / 1.481 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/1.431, allocations: 4 kB / 1.481 GB, free: 0.582 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/1.432, allocations: 0.6621 MB / 1.482 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.432, allocations: 224.3 kB / 1.482 GB, free: 15.64 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.432, allocations: 15.94 kB / 1.482 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/1.432, allocations: 12 kB / 1.482 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/1.432, allocations: 27.91 kB / 1.482 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/1.433, allocations: 16 kB / 1.482 GB, free: 15.57 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009633/1.433, allocations: 0.737 MB / 1.483 GB, free: 14.82 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.91e-07/1.433, allocations: 0 / 1.483 GB, free: 14.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001281/1.435, allocations: 499.2 kB / 1.484 GB, free: 14.34 MB / 1.154 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.0004625/1.435, allocations: 207.5 kB / 1.484 GB, free: 14.13 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.437, allocations: 0.677 MB / 1.484 GB, free: 13.46 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.437, allocations: 0 / 1.484 GB, free: 13.46 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003593/1.437, allocations: 169.3 kB / 1.485 GB, free: 13.29 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.44, allocations: 0.5906 MB / 1.485 GB, free: 12.71 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/1.442, allocations: 1.88 MB / 1.487 GB, free: 10.77 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/1.443, allocations: 1.099 MB / 1.488 GB, free: 9.641 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007508/1.444, allocations: 249.4 kB / 1.488 GB, free: 9.395 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.444, allocations: 75.44 kB / 1.488 GB, free: 9.32 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/1.444, allocations: 0 / 1.488 GB, free: 9.32 MB / 1.154 GB Notification: Performance of Templates: time 0.03256/1.476, allocations: 19.39 MB / 1.507 GB, free: 6.242 MB / 1.17 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