Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001755/0.001755, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00208/0.00208, allocations: 161.4 kB / 23.01 MB, free: 4.602 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.703/2.703, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [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.002175/0.002175, allocations: 75.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3121, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003467/0.3156, allocations: 1.875 MB / 1.119 GB, free: 0.625 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.3184, allocations: 1.781 MB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.3184, allocations: 4 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.3186, allocations: 31.78 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.319, allocations: 119.3 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.3195, allocations: 179.1 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.3199, allocations: 285.4 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.32, allocations: 33.27 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3201, allocations: 103.7 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.3203, allocations: 99.64 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.3204, allocations: 20 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.3206, allocations: 135.9 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3207, allocations: 83.81 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3209, allocations: 103.4 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.3213, allocations: 374.5 kB / 1.123 GB, free: 13.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.3214, allocations: 4 kB / 1.123 GB, free: 13.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3214, allocations: 3.938 kB / 1.123 GB, free: 13.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3214, allocations: 0 / 1.123 GB, free: 13.29 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008607/0.3222, allocations: 0.5208 MB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3223, allocations: 11.97 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.3224, allocations: 32.75 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.3227, allocations: 225.5 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.3228, allocations: 20.33 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3228, allocations: 16.12 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.3233, allocations: 369.5 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3233, allocations: 0 / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3234, allocations: 4 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3234, allocations: 8 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.3243, allocations: 0.6981 MB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3253, allocations: 0.5392 MB / 1.125 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.3258, allocations: 286.6 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.326, allocations: 105.4 kB / 1.125 GB, free: 10.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.326, allocations: 12.27 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.3264, allocations: 234.8 kB / 1.126 GB, free: 10.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.3264, allocations: 0 / 1.126 GB, free: 10.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=35): time 0.0007306/0.3272, allocations: 386.7 kB / 1.126 GB, free: 9.676 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/0.3273, allocations: 132.5 kB / 1.126 GB, free: 9.516 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.3276, allocations: 321.9 kB / 1.126 GB, free: 9.195 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3276, allocations: 37.7 kB / 1.126 GB, free: 9.152 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3278, allocations: 140.6 kB / 1.126 GB, free: 9.012 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3279, allocations: 111 kB / 1.127 GB, free: 8.902 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.328, allocations: 69.67 kB / 1.127 GB, free: 8.828 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3282, allocations: 342.8 kB / 1.127 GB, free: 8.484 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3283, allocations: 83.95 kB / 1.127 GB, free: 8.402 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.3286, allocations: 213.5 kB / 1.127 GB, free: 8.164 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.329, allocations: 216.6 kB / 1.127 GB, free: 7.949 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.329, allocations: 0 / 1.127 GB, free: 7.949 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004828/0.3294, allocations: 285.6 kB / 1.128 GB, free: 7.664 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3295, allocations: 4 kB / 1.128 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3295, allocations: 0 / 1.128 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3295, allocations: 7.938 kB / 1.128 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3297, allocations: 59.91 kB / 1.128 GB, free: 7.594 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3297, allocations: 4 kB / 1.128 GB, free: 7.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3299, allocations: 31.81 kB / 1.128 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.3299, allocations: 15.98 kB / 1.128 GB, free: 7.543 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.3301, allocations: 161.8 kB / 1.128 GB, free: 7.375 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.3301, allocations: 27.81 kB / 1.128 GB, free: 7.348 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/0.3309, allocations: 388.8 kB / 1.128 GB, free: 6.961 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3309, allocations: 7.938 kB / 1.128 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3309, allocations: 0 / 1.128 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3309, allocations: 3.984 kB / 1.128 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3312, allocations: 249 kB / 1.129 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3312, allocations: 0 / 1.129 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3314, allocations: 63.91 kB / 1.129 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3314, allocations: 4 kB / 1.129 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3314, allocations: 8 kB / 1.129 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.3314, allocations: 7.984 kB / 1.129 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3314, allocations: 7.922 kB / 1.129 GB, free: 6.586 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.332, allocations: 330.5 kB / 1.129 GB, free: 6.242 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3321, allocations: 67.73 kB / 1.129 GB, free: 6.176 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.3321, allocations: 7.984 kB / 1.129 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.3323, allocations: 19.98 kB / 1.129 GB, free: 6.148 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.3324, allocations: 35.75 kB / 1.129 GB, free: 6.113 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.3324, allocations: 19.98 kB / 1.129 GB, free: 6.094 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002452/0.3327, allocations: 249.2 kB / 1.129 GB, free: 5.852 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3327, allocations: 0 / 1.129 GB, free: 5.852 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003368/0.333, allocations: 83.81 kB / 1.13 GB, free: 5.77 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001719/0.3347, allocations: 489.5 kB / 1.13 GB, free: 5.469 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.3352, allocations: 223.7 kB / 1.13 GB, free: 5.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3352, allocations: 0 / 1.13 GB, free: 5.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.3354, allocations: 119.8 kB / 1.13 GB, free: 5.133 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3357, allocations: 47.73 kB / 1.13 GB, free: 5.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.3366, allocations: 0.5484 MB / 1.131 GB, free: 4.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3367, allocations: 155.7 kB / 1.131 GB, free: 4.344 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003431/0.3371, allocations: 138.9 kB / 1.131 GB, free: 4.203 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.3372, allocations: 48.47 kB / 1.131 GB, free: 4.156 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.3372, allocations: 0 / 1.131 GB, free: 4.156 MB / 1.076 GB Notification: Performance of Templates: time 0.008614/0.3458, allocations: 3.824 MB / 1.135 GB, free: 408 kB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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: 8.51942584500648]