Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002335/0.002335, allocations: 195 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003425/0.003425, allocations: 71.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9183, allocations: 160.8 MB / 1.218 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003756/0.922, allocations: 1.901 MB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00337/0.9254, allocations: 1.696 MB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.9255, allocations: 0.9375 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.9259, allocations: 28.06 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.9262, allocations: 82.8 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.9267, allocations: 176.1 kB / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.9271, allocations: 283.2 kB / 1.223 GB, free: 464 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.9273, allocations: 26.38 kB / 1.223 GB, free: 452 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.9274, allocations: 97.44 kB / 1.223 GB, free: 400 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.9277, allocations: 110.1 kB / 1.223 GB, free: 328 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.9277, allocations: 19.06 kB / 1.223 GB, free: 328 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.9279, allocations: 88.77 kB / 1.223 GB, free: 296 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.9281, allocations: 91.86 kB / 1.223 GB, free: 236 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.9282, allocations: 122.8 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.9287, allocations: 336.3 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9287, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9287, allocations: 1 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.9287, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9356 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.0009738/0.9297, allocations: 0.5685 MB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9297, allocations: 9.844 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.9299, allocations: 33.09 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.9303, allocations: 278.6 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.9303, allocations: 11.09 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.9304, allocations: 24.12 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.9308, allocations: 237 kB / 1.225 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.9308, allocations: 0 / 1.225 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.9309, allocations: 10.38 kB / 1.225 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.9309, allocations: 4.375 kB / 1.225 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.932, allocations: 0.7496 MB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.9332, allocations: 0.6341 MB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.9338, allocations: 291.1 kB / 1.226 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.934, allocations: 108.3 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.934, allocations: 28.58 kB / 1.226 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.9344, allocations: 179.3 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.9344, allocations: 1 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0007696/0.9352, allocations: 381 kB / 1.227 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.9353, allocations: 132.3 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.9357, allocations: 313.7 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.9357, allocations: 36.17 kB / 1.227 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.9359, allocations: 142.9 kB / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.936, allocations: 110.3 kB / 1.228 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.9361, allocations: 65.62 kB / 1.228 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9362, allocations: 342.9 kB / 1.228 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.9364, allocations: 84.48 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.9366, allocations: 120.2 kB / 1.228 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.9369, allocations: 216.2 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9369, allocations: 1.344 kB / 1.228 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004844/0.9374, allocations: 289.7 kB / 1.229 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9374, allocations: 9 kB / 1.229 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.9374, allocations: 3.938 kB / 1.229 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.9375, allocations: 2 kB / 1.229 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.9377, allocations: 61.12 kB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9377, allocations: 5.062 kB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.9379, allocations: 31.72 kB / 1.229 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.9379, allocations: 13.34 kB / 1.229 GB, free: 12.08 MB / 0.9356 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.000184/0.9381, allocations: 165.8 kB / 1.229 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.9381, allocations: 29.28 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/0.9388, allocations: 385.7 kB / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9389, allocations: 4.062 kB / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9389, allocations: 0 / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9389, allocations: 1.156 kB / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.9393, allocations: 344.4 kB / 1.23 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.9393, allocations: 5.516 kB / 1.23 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.9395, allocations: 62.09 kB / 1.23 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.9395, allocations: 1.031 kB / 1.23 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.9395, allocations: 16.52 kB / 1.23 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.9395, allocations: 5.219 kB / 1.23 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.9395, allocations: 4 kB / 1.23 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.94, allocations: 330.9 kB / 1.23 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.9402, allocations: 140.8 kB / 1.23 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.9402, allocations: 15.92 kB / 1.23 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.9404, allocations: 19.98 kB / 1.23 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.9405, allocations: 31.81 kB / 1.23 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.9405, allocations: 15.98 kB / 1.23 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002365/0.9407, allocations: 236.4 kB / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9407, allocations: 0 / 1.23 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003206/0.9411, allocations: 71.89 kB / 1.231 GB, free: 10.59 MB / 0.9356 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.001516/0.9426, allocations: 414 kB / 1.231 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.943, allocations: 219.7 kB / 1.231 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.943, allocations: 0 / 1.231 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.9433, allocations: 128.7 kB / 1.231 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.9436, allocations: 40.95 kB / 1.231 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.9446, allocations: 0.5296 MB / 1.232 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.945, allocations: 0.7653 MB / 1.233 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003525/0.9454, allocations: 150.9 kB / 1.233 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.9455, allocations: 39.42 kB / 1.233 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.9455, allocations: 0 / 1.233 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of Templates: time 0.008639/0.9541, allocations: 3.605 MB / 1.236 GB, free: 4.855 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.000846632756293]