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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001173/0.001173, allocations: 112.6 kB / 16.37 MB, free: 6 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.001211/0.001211, allocations: 196 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.59 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.305, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.8589/1.164, allocations: 261.9 MB / 1.282 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02422/1.188, allocations: 19.11 MB / 1.301 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/1.19, allocations: 55.62 kB / 1.301 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/1.192, allocations: 0.7374 MB / 1.302 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/1.196, allocations: 1.824 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003599/1.2, allocations: 1.462 MB / 1.305 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003925/1.204, allocations: 3.081 MB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/1.206, allocations: 1.229 MB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/1.213, allocations: 3.187 MB / 1.312 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/1.214, allocations: 0.9881 MB / 1.313 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/1.215, allocations: 104 kB / 1.314 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/1.217, allocations: 1.52 MB / 1.315 GB, free: 5.895 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/1.218, allocations: 418.8 kB / 1.315 GB, free: 5.484 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007478/1.218, allocations: 0.7036 MB / 1.316 GB, free: 4.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/1.221, allocations: 2.045 MB / 1.318 GB, free: 2.727 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.221, allocations: 0 / 1.318 GB, free: 2.727 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.221, allocations: 4 kB / 1.318 GB, free: 2.723 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.618e-05/1.221, allocations: 0 / 1.318 GB, free: 2.723 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.002083/1.223, allocations: 1.569 MB / 1.32 GB, free: 1.102 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.223, allocations: 12.03 kB / 1.32 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.225, allocations: 282.1 kB / 1.32 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/1.226, allocations: 0.8701 MB / 1.321 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/1.226, allocations: 77.94 kB / 1.321 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.226, allocations: 92 kB / 1.321 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/1.228, allocations: 1.007 MB / 1.322 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.228, allocations: 0 / 1.322 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/1.228, allocations: 43.94 kB / 1.322 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/1.228, allocations: 20 kB / 1.322 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/1.229, allocations: 0.6478 MB / 1.323 GB, free: 13.95 MB / 1.029 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.004243/1.233, allocations: 4.689 MB / 1.327 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/1.233, allocations: 246.8 kB / 1.327 GB, free: 8.672 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/1.234, allocations: 138.4 kB / 1.328 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005628/1.234, allocations: 307.2 kB / 1.328 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/1.234, allocations: 38.55 kB / 1.328 GB, free: 8.133 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 3.576e-06/1.234, allocations: 4 kB / 1.328 GB, free: 8.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.0009278/1.235, allocations: 481.1 kB / 1.328 GB, free: 7.652 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.235, allocations: 59.34 kB / 1.328 GB, free: 7.582 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.236, allocations: 1.087 MB / 1.329 GB, free: 6.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.236, allocations: 33.7 kB / 1.329 GB, free: 6.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/1.237, allocations: 0.5816 MB / 1.33 GB, free: 5.859 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/1.237, allocations: 102.5 kB / 1.33 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/1.237, allocations: 126 kB / 1.33 GB, free: 5.625 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.237, allocations: 326 kB / 1.331 GB, free: 5.301 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/1.238, allocations: 143 kB / 1.331 GB, free: 5.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/1.238, allocations: 429.5 kB / 1.331 GB, free: 4.613 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/1.239, allocations: 0.527 MB / 1.332 GB, free: 3.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.239, allocations: 7.938 kB / 1.332 GB, free: 3.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009263/1.24, allocations: 0.626 MB / 1.332 GB, free: 3.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.24, allocations: 12.03 kB / 1.332 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.24, allocations: 13.03 kB / 1.332 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.24, allocations: 8 kB / 1.332 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008851/1.241, allocations: 177.2 kB / 1.332 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/1.242, allocations: 2.36 MB / 1.335 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/1.243, allocations: 95.05 kB / 1.335 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/1.243, allocations: 28 kB / 1.335 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006064/1.243, allocations: 373 kB / 1.335 GB, free: 204 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004266/1.244, allocations: 429.3 kB / 1.336 GB, free: 15.65 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000621/1.244, allocations: 0.5222 MB / 1.336 GB, free: 15.03 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/1.244, allocations: 0 / 1.336 GB, free: 15.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0009369/1.245, allocations: 0.6184 MB / 1.337 GB, free: 14.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.245, allocations: 12.19 kB / 1.337 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.245, allocations: 11.98 kB / 1.337 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.245, allocations: 12 kB / 1.337 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/1.246, allocations: 119.8 kB / 1.337 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.246, allocations: 19.92 kB / 1.337 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/1.246, allocations: 43.69 kB / 1.337 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/1.246, allocations: 39.92 kB / 1.337 GB, free: 14.15 MB / 1.045 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.0002002/1.247, allocations: 220 kB / 1.337 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/1.247, allocations: 118.5 kB / 1.337 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007357/1.248, allocations: 401.1 kB / 1.338 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.248, allocations: 4 kB / 1.338 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.248, allocations: 3.984 kB / 1.338 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.248, allocations: 3.938 kB / 1.338 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/1.25, allocations: 1.305 MB / 1.339 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.25, allocations: 0 / 1.339 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/1.25, allocations: 91.8 kB / 1.339 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.25, allocations: 4 kB / 1.339 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/1.25, allocations: 8 kB / 1.339 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/1.252, allocations: 2.34 MB / 1.341 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.252, allocations: 7.938 kB / 1.341 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/1.252, allocations: 0.6663 MB / 1.342 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/1.253, allocations: 223.6 kB / 1.342 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.253, allocations: 11.94 kB / 1.342 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/1.253, allocations: 8 kB / 1.342 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/1.253, allocations: 23.97 kB / 1.342 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/1.253, allocations: 19.94 kB / 1.342 GB, free: 8.457 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001125/1.254, allocations: 0.737 MB / 1.343 GB, free: 7.715 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.254, allocations: 0 / 1.343 GB, free: 7.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001383/1.256, allocations: 495 kB / 1.343 GB, free: 7.23 MB / 1.045 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.0004563/1.256, allocations: 201.3 kB / 1.344 GB, free: 7.035 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.258, allocations: 0.6808 MB / 1.344 GB, free: 6.359 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.258, allocations: 4.312 kB / 1.344 GB, free: 6.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/1.258, allocations: 171.7 kB / 1.345 GB, free: 6.188 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.261, allocations: 0.5805 MB / 1.345 GB, free: 5.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/1.263, allocations: 1.847 MB / 1.347 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/1.264, allocations: 1.103 MB / 1.348 GB, free: 2.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007116/1.265, allocations: 241.4 kB / 1.348 GB, free: 2.332 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/1.265, allocations: 75.44 kB / 1.348 GB, free: 2.258 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/1.265, allocations: 0 / 1.348 GB, free: 2.258 MB / 1.045 GB Notification: Performance of Templates: time 0.034/1.299, allocations: 19.25 MB / 1.367 GB, free: 15.29 MB / 1.076 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches