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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 216.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.969/2.969, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 64.67 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.9059/1.21, allocations: 267.1 MB / 1.615 GB, free: 4.297 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.01946/1.229, allocations: 19.36 MB / 1.634 GB, free: 4.262 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/1.231, allocations: 70.09 kB / 1.634 GB, free: 4.262 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/1.233, allocations: 0.7665 MB / 1.635 GB, free: 4.262 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.004583/1.238, allocations: 1.9 MB / 1.636 GB, free: 4.211 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/1.241, allocations: 1.511 MB / 1.638 GB, free: 4.168 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.004694/1.246, allocations: 3.086 MB / 1.641 GB, free: 4.16 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/1.248, allocations: 0.9486 MB / 1.642 GB, free: 4.094 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007683/1.255, allocations: 3.496 MB / 1.645 GB, free: 4.027 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/1.257, allocations: 1.014 MB / 1.646 GB, free: 4.023 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/1.258, allocations: 101.5 kB / 1.646 GB, free: 4.023 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/1.261, allocations: 1.603 MB / 1.648 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.000482/1.261, allocations: 429.6 kB / 1.648 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0009543/1.262, allocations: 0.702 MB / 1.649 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.003256/1.265, allocations: 2.076 MB / 1.651 GB, free: 3.875 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.265, allocations: 0 / 1.651 GB, free: 3.875 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.262e-06/1.265, allocations: 0 / 1.651 GB, free: 3.875 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.265, allocations: 3.672 kB / 1.651 GB, free: 3.875 MB / 1.295 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.002279/1.268, allocations: 1.567 MB / 1.653 GB, free: 19.05 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/1.268, allocations: 11.03 kB / 1.653 GB, free: 19.05 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.269, allocations: 289.9 kB / 1.653 GB, free: 18.97 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.271, allocations: 0.8159 MB / 1.654 GB, free: 18.65 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/1.271, allocations: 69.19 kB / 1.654 GB, free: 18.65 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.271, allocations: 95.66 kB / 1.654 GB, free: 18.65 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/1.272, allocations: 1.009 MB / 1.655 GB, free: 18.44 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.272, allocations: 1.219 kB / 1.655 GB, free: 18.44 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/1.272, allocations: 37.25 kB / 1.655 GB, free: 18.44 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/1.272, allocations: 28.41 kB / 1.655 GB, free: 18.44 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008903/1.273, allocations: 0.6452 MB / 1.656 GB, free: 18.43 MB / 1.311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/1.277, allocations: 4.638 MB / 1.66 GB, free: 15.42 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/1.277, allocations: 234.8 kB / 1.66 GB, free: 15.39 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/1.278, allocations: 122.1 kB / 1.66 GB, free: 15.39 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/1.278, allocations: 79.36 kB / 1.66 GB, free: 15.39 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.278, allocations: 37.5 kB / 1.66 GB, free: 15.35 MB / 1.311 GB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/1.278, allocations: 0 / 1.66 GB, free: 15.35 MB / 1.311 GB Notification: Performance of matching and sorting (n=29): time 0.0008612/1.279, allocations: 491.8 kB / 1.661 GB, free: 15.24 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.279, allocations: 61.92 kB / 1.661 GB, free: 15.18 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.28, allocations: 1.105 MB / 1.662 GB, free: 15.02 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/1.28, allocations: 39.45 kB / 1.662 GB, free: 14.99 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/1.28, allocations: 0.605 MB / 1.663 GB, free: 14.76 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/1.281, allocations: 114.5 kB / 1.663 GB, free: 14.69 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.281, allocations: 118.5 kB / 1.663 GB, free: 14.66 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.281, allocations: 329 kB / 1.663 GB, free: 14.36 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/1.281, allocations: 145.5 kB / 1.663 GB, free: 14.35 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/1.281, allocations: 429.9 kB / 1.664 GB, free: 14.02 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/1.282, allocations: 0.5363 MB / 1.664 GB, free: 13.75 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.282, allocations: 1.75 kB / 1.664 GB, free: 13.75 MB / 1.311 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008165/1.283, allocations: 0.6301 MB / 1.665 GB, free: 13.65 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.283, allocations: 14.16 kB / 1.665 GB, free: 13.64 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.283, allocations: 7.031 kB / 1.665 GB, free: 13.64 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.283, allocations: 15.06 kB / 1.665 GB, free: 13.64 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/1.284, allocations: 177.4 kB / 1.665 GB, free: 13.64 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/1.285, allocations: 2.355 MB / 1.667 GB, free: 11.31 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/1.286, allocations: 93.34 kB / 1.668 GB, free: 11.26 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/1.286, allocations: 31.92 kB / 1.668 GB, free: 11.26 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005415/1.286, allocations: 372.5 kB / 1.668 GB, free: 11.17 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004285/1.287, allocations: 423 kB / 1.668 GB, free: 10.84 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005973/1.287, allocations: 0.5342 MB / 1.669 GB, free: 10.57 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.067e-06/1.287, allocations: 5.219 kB / 1.669 GB, free: 10.57 MB / 1.311 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008731/1.288, allocations: 0.6255 MB / 1.669 GB, free: 10.46 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.288, allocations: 8.219 kB / 1.669 GB, free: 10.46 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.288, allocations: 7.844 kB / 1.669 GB, free: 10.46 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.288, allocations: 15 kB / 1.669 GB, free: 10.46 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/1.289, allocations: 123.9 kB / 1.67 GB, free: 10.46 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.289, allocations: 16.52 kB / 1.67 GB, free: 10.46 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/1.289, allocations: 52.88 kB / 1.67 GB, free: 10.45 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/1.289, allocations: 28 kB / 1.67 GB, free: 10.45 MB / 1.311 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.0002026/1.289, allocations: 228.1 kB / 1.67 GB, free: 10.26 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.29, allocations: 117.2 kB / 1.67 GB, free: 10.2 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006743/1.29, allocations: 407.6 kB / 1.67 GB, free: 10.14 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.29, allocations: 2.719 kB / 1.67 GB, free: 10.14 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.29, allocations: 6.094 kB / 1.67 GB, free: 10.13 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.29, allocations: 7 kB / 1.67 GB, free: 10.13 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/1.292, allocations: 1.273 MB / 1.672 GB, free: 9.773 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.292, allocations: 2.531 kB / 1.672 GB, free: 9.773 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/1.292, allocations: 93.75 kB / 1.672 GB, free: 9.766 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.292, allocations: 4.969 kB / 1.672 GB, free: 9.766 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/1.292, allocations: 8.719 kB / 1.672 GB, free: 9.766 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/1.294, allocations: 2.349 MB / 1.674 GB, free: 7.426 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.294, allocations: 6.062 kB / 1.674 GB, free: 7.426 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/1.294, allocations: 0.6716 MB / 1.675 GB, free: 7.141 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/1.295, allocations: 160.3 kB / 1.675 GB, free: 7.066 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.295, allocations: 8.281 kB / 1.675 GB, free: 7.066 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/1.295, allocations: 9.594 kB / 1.675 GB, free: 7.066 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/1.295, allocations: 25.33 kB / 1.675 GB, free: 7.066 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/1.295, allocations: 13.12 kB / 1.675 GB, free: 7.066 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0007939/1.296, allocations: 0.7555 MB / 1.676 GB, free: 6.957 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.296, allocations: 0.875 kB / 1.676 GB, free: 6.957 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001233/1.297, allocations: 0.4921 MB / 1.676 GB, free: 6.898 MB / 1.311 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.0003236/1.298, allocations: 191.5 kB / 1.676 GB, free: 6.805 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001355/1.299, allocations: 0.6442 MB / 1.677 GB, free: 6.789 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.299, allocations: 1.375 kB / 1.677 GB, free: 6.789 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/1.299, allocations: 166.1 kB / 1.677 GB, free: 6.789 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/1.302, allocations: 0.6316 MB / 1.678 GB, free: 6.699 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/1.304, allocations: 1.964 MB / 1.68 GB, free: 5.711 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/1.305, allocations: 1.118 MB / 1.681 GB, free: 4.988 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/1.305, allocations: 79.59 kB / 1.681 GB, free: 4.98 MB / 1.311 GB Notification: Performance of SimCode: time 4.81e-07/1.305, allocations: 0 / 1.681 GB, free: 4.98 MB / 1.311 GB Notification: Performance of Templates: time 0.03456/1.34, allocations: 36.55 MB / 1.717 GB, free: 11.63 MB / 1.326 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.423896988999331]