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.00181/0.00181, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001652/0.001653, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.557/1.557, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.836/2.836, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 64.5 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3924, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.8511/1.244, allocations: 261.9 MB / 1.274 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02795/1.272, allocations: 19.1 MB / 1.292 GB, free: 288 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/1.274, allocations: 47.69 kB / 1.292 GB, free: 240 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002558/1.277, allocations: 0.7414 MB / 1.293 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00571/1.283, allocations: 1.821 MB / 1.295 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004267/1.287, allocations: 1.453 MB / 1.296 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00539/1.292, allocations: 3.089 MB / 1.299 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/1.294, allocations: 1.239 MB / 1.301 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008763/1.303, allocations: 3.177 MB / 1.304 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/1.305, allocations: 0.9842 MB / 1.305 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/1.306, allocations: 104 kB / 1.305 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/1.309, allocations: 1.512 MB / 1.306 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005424/1.31, allocations: 422.7 kB / 1.307 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/1.311, allocations: 0.6998 MB / 1.307 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/1.314, allocations: 2.029 MB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.314, allocations: 4 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/1.314, allocations: 0 / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.149e-05/1.314, allocations: 0 / 1.309 GB, free: 14.91 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.002536/1.317, allocations: 1.573 MB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.317, allocations: 12.88 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.318, allocations: 286.1 kB / 1.311 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/1.32, allocations: 0.8194 MB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/1.32, allocations: 70 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/1.32, allocations: 96 kB / 1.312 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/1.322, allocations: 1.005 MB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/1.322, allocations: 3.938 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/1.322, allocations: 43.94 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/1.322, allocations: 20 kB / 1.313 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.323, allocations: 0.6478 MB / 1.314 GB, free: 10.18 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.005266/1.328, allocations: 4.728 MB / 1.318 GB, free: 5.117 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/1.329, allocations: 247.3 kB / 1.319 GB, free: 4.867 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/1.329, allocations: 136.7 kB / 1.319 GB, free: 4.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006227/1.33, allocations: 311.2 kB / 1.319 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.33, allocations: 34.56 kB / 1.319 GB, free: 4.328 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/1.33, allocations: 7.938 kB / 1.319 GB, free: 4.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.001043/1.331, allocations: 481.1 kB / 1.32 GB, free: 3.844 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.331, allocations: 63.34 kB / 1.32 GB, free: 3.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/1.332, allocations: 1.083 MB / 1.321 GB, free: 2.676 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/1.332, allocations: 33.7 kB / 1.321 GB, free: 2.637 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/1.333, allocations: 0.5738 MB / 1.321 GB, free: 2.059 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.333, allocations: 110.5 kB / 1.321 GB, free: 1.949 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/1.333, allocations: 122 kB / 1.321 GB, free: 1.824 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.333, allocations: 330 kB / 1.322 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/1.333, allocations: 151 kB / 1.322 GB, free: 1.348 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/1.334, allocations: 426.4 kB / 1.322 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/1.335, allocations: 0.5266 MB / 1.323 GB, free: 180 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.335, allocations: 4.875 kB / 1.323 GB, free: 176 kB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001096/1.336, allocations: 0.6203 MB / 1.323 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.336, allocations: 8 kB / 1.323 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.336, allocations: 11.94 kB / 1.323 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.336, allocations: 12 kB / 1.323 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/1.337, allocations: 180.9 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/1.338, allocations: 2.356 MB / 1.326 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/1.339, allocations: 94.95 kB / 1.326 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/1.339, allocations: 28 kB / 1.326 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007/1.34, allocations: 377 kB / 1.326 GB, free: 12.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005043/1.34, allocations: 429.2 kB / 1.327 GB, free: 11.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006978/1.341, allocations: 0.528 MB / 1.327 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-06/1.341, allocations: 4 kB / 1.327 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001034/1.342, allocations: 0.6102 MB / 1.328 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.342, allocations: 10.5 kB / 1.328 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.342, allocations: 8 kB / 1.328 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.342, allocations: 12 kB / 1.328 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/1.343, allocations: 127.8 kB / 1.328 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.343, allocations: 19.92 kB / 1.328 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/1.343, allocations: 43.69 kB / 1.328 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/1.343, allocations: 35.92 kB / 1.328 GB, free: 10.34 MB / 1.029 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.0002191/1.344, allocations: 220.1 kB / 1.328 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.344, allocations: 118.5 kB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/1.345, allocations: 404.9 kB / 1.329 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.345, allocations: 0 / 1.329 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.345, allocations: 7.984 kB / 1.329 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.345, allocations: 7.938 kB / 1.329 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/1.347, allocations: 1.287 MB / 1.33 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.347, allocations: 0 / 1.33 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/1.347, allocations: 87.95 kB / 1.33 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/1.347, allocations: 4 kB / 1.33 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.347, allocations: 12 kB / 1.33 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/1.349, allocations: 2.34 MB / 1.333 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.349, allocations: 4.312 kB / 1.333 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/1.349, allocations: 0.6653 MB / 1.333 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/1.35, allocations: 223.6 kB / 1.333 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/1.35, allocations: 11.94 kB / 1.333 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/1.35, allocations: 8 kB / 1.333 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/1.35, allocations: 31.91 kB / 1.333 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/1.35, allocations: 8 kB / 1.333 GB, free: 4.668 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00112/1.352, allocations: 0.737 MB / 1.334 GB, free: 3.926 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.352, allocations: 0 / 1.334 GB, free: 3.926 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001373/1.353, allocations: 495 kB / 1.335 GB, free: 3.441 MB / 1.029 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.0005696/1.354, allocations: 218.8 kB / 1.335 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001867/1.355, allocations: 0.6874 MB / 1.336 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.355, allocations: 0 / 1.336 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003951/1.356, allocations: 169.6 kB / 1.336 GB, free: 2.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.359, allocations: 0.5828 MB / 1.336 GB, free: 1.805 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/1.362, allocations: 1.945 MB / 1.338 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/1.363, allocations: 1.103 MB / 1.339 GB, free: 14.67 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.364, allocations: 87.42 kB / 1.339 GB, free: 14.59 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/1.364, allocations: 0 / 1.339 GB, free: 14.59 MB / 1.045 GB Notification: Performance of Templates: time 0.0484/1.412, allocations: 35.64 MB / 1.374 GB, free: 11.07 MB / 1.076 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