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.001342/0.001342, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 200 kB / 16.79 MB, free: 6.828 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 69.11 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2606, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9447/1.205, allocations: 259.9 MB / 1.306 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02128/1.227, allocations: 19.2 MB / 1.325 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/1.229, allocations: 51.91 kB / 1.325 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/1.231, allocations: 0.6163 MB / 1.326 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005113/1.237, allocations: 1.714 MB / 1.328 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004004/1.241, allocations: 1.299 MB / 1.329 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005229/1.246, allocations: 4.546 MB / 1.333 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/1.247, allocations: 0.9998 MB / 1.334 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008352/1.256, allocations: 2.93 MB / 1.337 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/1.257, allocations: 1.045 MB / 1.338 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/1.257, allocations: 65.16 kB / 1.338 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/1.261, allocations: 1.722 MB / 1.34 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/1.261, allocations: 397.4 kB / 1.34 GB, free: 460 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007937/1.262, allocations: 0.663 MB / 1.341 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/1.264, allocations: 1.497 MB / 1.342 GB, free: 124 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.264, allocations: 0.625 kB / 1.342 GB, free: 124 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/1.264, allocations: 3.938 kB / 1.342 GB, free: 120 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.355e-05/1.264, allocations: 0 / 1.342 GB, free: 120 kB / 0.9981 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.002276/1.266, allocations: 1.597 MB / 1.344 GB, free: 15.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.266, allocations: 12.09 kB / 1.344 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/1.268, allocations: 283.3 kB / 1.344 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.269, allocations: 0.8233 MB / 1.345 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/1.269, allocations: 71.44 kB / 1.345 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/1.269, allocations: 93.66 kB / 1.345 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/1.27, allocations: 0.9872 MB / 1.346 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.271, allocations: 2.625 kB / 1.346 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/1.271, allocations: 37.66 kB / 1.346 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/1.271, allocations: 23.81 kB / 1.346 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/1.272, allocations: 0.6399 MB / 1.347 GB, free: 14.6 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.004549/1.276, allocations: 4.388 MB / 1.351 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/1.277, allocations: 255.4 kB / 1.351 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/1.277, allocations: 125.1 kB / 1.351 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/1.277, allocations: 311.9 kB / 1.352 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.277, allocations: 32.44 kB / 1.352 GB, free: 11.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/1.277, allocations: 0 / 1.352 GB, free: 11.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0009364/1.278, allocations: 486.1 kB / 1.352 GB, free: 11.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/1.278, allocations: 57.78 kB / 1.352 GB, free: 11.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/1.28, allocations: 1.083 MB / 1.353 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/1.28, allocations: 32.58 kB / 1.353 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/1.28, allocations: 0.5842 MB / 1.354 GB, free: 10.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.78e-05/1.28, allocations: 106.4 kB / 1.354 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/1.28, allocations: 120.5 kB / 1.354 GB, free: 10.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.281, allocations: 325.5 kB / 1.355 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.281, allocations: 140.3 kB / 1.355 GB, free: 10.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/1.281, allocations: 398.9 kB / 1.355 GB, free: 10.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/1.282, allocations: 0.5004 MB / 1.356 GB, free: 9.961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.282, allocations: 3.375 kB / 1.356 GB, free: 9.961 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008413/1.283, allocations: 0.5998 MB / 1.356 GB, free: 9.855 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.283, allocations: 9.953 kB / 1.356 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.283, allocations: 6.844 kB / 1.356 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.283, allocations: 17.44 kB / 1.356 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/1.284, allocations: 169.7 kB / 1.356 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.285, allocations: 2.357 MB / 1.359 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/1.286, allocations: 119.1 kB / 1.359 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/1.286, allocations: 29.14 kB / 1.359 GB, free: 7.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005138/1.286, allocations: 366.3 kB / 1.359 GB, free: 7.371 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003694/1.287, allocations: 390.7 kB / 1.359 GB, free: 7.059 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000527/1.287, allocations: 0.4948 MB / 1.36 GB, free: 6.805 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/1.287, allocations: 2.562 kB / 1.36 GB, free: 6.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization_lambda0): time 0.0008044/1.288, allocations: 0.5867 MB / 1.361 GB, free: 6.707 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.288, allocations: 6.875 kB / 1.361 GB, free: 6.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.288, allocations: 10.84 kB / 1.361 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/1.288, allocations: 10.06 kB / 1.361 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/1.288, allocations: 116.6 kB / 1.361 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.288, allocations: 13.34 kB / 1.361 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/1.289, allocations: 81.52 kB / 1.361 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/1.289, allocations: 30.81 kB / 1.361 GB, free: 6.684 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (63): * Single equations (assignments): 59 * 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.0001665/1.289, allocations: 222.8 kB / 1.361 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/1.289, allocations: 111.7 kB / 1.361 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006362/1.29, allocations: 418.6 kB / 1.361 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.29, allocations: 2.094 kB / 1.361 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.29, allocations: 7.125 kB / 1.362 GB, free: 6.355 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.29, allocations: 3.234 kB / 1.362 GB, free: 6.355 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/1.292, allocations: 1.303 MB / 1.363 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.292, allocations: 3.219 kB / 1.363 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/1.292, allocations: 94.73 kB / 1.363 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.292, allocations: 2.562 kB / 1.363 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/1.292, allocations: 12.41 kB / 1.363 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/1.293, allocations: 2.338 MB / 1.365 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.293, allocations: 5.812 kB / 1.365 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/1.294, allocations: 0.6622 MB / 1.366 GB, free: 3.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/1.294, allocations: 223.8 kB / 1.366 GB, free: 3.164 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.294, allocations: 11.66 kB / 1.366 GB, free: 3.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/1.295, allocations: 42.17 kB / 1.366 GB, free: 3.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/1.295, allocations: 30.34 kB / 1.366 GB, free: 3.156 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.295, allocations: 20.88 kB / 1.366 GB, free: 3.148 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008315/1.296, allocations: 0.738 MB / 1.367 GB, free: 3.039 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.296, allocations: 0 / 1.367 GB, free: 3.039 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001241/1.297, allocations: 491.6 kB / 1.367 GB, free: 2.984 MB / 1.014 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.0004542/1.297, allocations: 220.1 kB / 1.368 GB, free: 2.871 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001338/1.299, allocations: 0.6368 MB / 1.368 GB, free: 2.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.299, allocations: 0.6875 kB / 1.368 GB, free: 2.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/1.299, allocations: 173.9 kB / 1.368 GB, free: 2.855 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.302, allocations: 0.6022 MB / 1.369 GB, free: 2.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/1.304, allocations: 2.301 MB / 1.371 GB, free: 1.457 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/1.305, allocations: 1.112 MB / 1.372 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/1.305, allocations: 75.62 kB / 1.372 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.305, allocations: 4 kB / 1.372 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of Templates: time 0.04102/1.346, allocations: 36.01 MB / 1.407 GB, free: 9.039 MB / 1.045 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 -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