Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00155/0.00155, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001706/0.001706, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.918/2.918, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002066/0.002066, allocations: 67.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9255/0.9275, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00264/0.9302, allocations: 1.914 MB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.932, allocations: 1.761 MB / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.9321, allocations: 2.312 kB / 1.326 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.9323, allocations: 26.92 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.9326, allocations: 124.5 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.933, allocations: 169.1 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.9332, allocations: 292.5 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.9333, allocations: 27.5 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.403e-05/0.9334, allocations: 101 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.9336, allocations: 118.2 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.9337, allocations: 22.03 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.9339, allocations: 138.1 kB / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.934, allocations: 92.77 kB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.9341, allocations: 122.3 kB / 1.327 GB, free: 21.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.9345, allocations: 374.8 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9345, allocations: 0 / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9345, allocations: 0 / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.9345, allocations: 1.281 kB / 1.327 GB, free: 21.82 MB / 1.061 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.0007192/0.9352, allocations: 0.5982 MB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.9352, allocations: 15.97 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.9354, allocations: 38.38 kB / 1.328 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.9356, allocations: 278.7 kB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.9357, allocations: 18.36 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.9357, allocations: 28.08 kB / 1.328 GB, free: 20.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.9361, allocations: 241.3 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.9361, allocations: 0 / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.9361, allocations: 9.969 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.9361, allocations: 5 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009975/0.9371, allocations: 0.7418 MB / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.9381, allocations: 0.6413 MB / 1.33 GB, free: 20.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.9386, allocations: 284.5 kB / 1.33 GB, free: 20.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.9388, allocations: 102.3 kB / 1.33 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.9388, allocations: 20.62 kB / 1.33 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.9391, allocations: 187.7 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.9392, allocations: 0 / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0006672/0.9398, allocations: 382.3 kB / 1.331 GB, free: 19.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.9399, allocations: 134.2 kB / 1.331 GB, free: 19.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.9402, allocations: 320.3 kB / 1.331 GB, free: 19.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.9402, allocations: 32.67 kB / 1.331 GB, free: 19.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.9403, allocations: 145.8 kB / 1.331 GB, free: 19.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.9403, allocations: 116.8 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.9404, allocations: 69.83 kB / 1.331 GB, free: 19.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.9405, allocations: 338.4 kB / 1.332 GB, free: 19.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.9406, allocations: 85.3 kB / 1.332 GB, free: 18.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.9408, allocations: 126 kB / 1.332 GB, free: 18.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.9411, allocations: 216.4 kB / 1.332 GB, free: 18.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9411, allocations: 0 / 1.332 GB, free: 18.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004384/0.9416, allocations: 279.2 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9416, allocations: 7.906 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9416, allocations: 4.453 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.9416, allocations: 1.812 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.9418, allocations: 72.5 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9418, allocations: 6.516 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.942, allocations: 29.97 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.942, allocations: 14.7 kB / 1.332 GB, free: 18.68 MB / 1.061 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.0001361/0.9422, allocations: 163.4 kB / 1.333 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.9422, allocations: 29.75 kB / 1.333 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007197/0.9429, allocations: 391.4 kB / 1.333 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.943, allocations: 3.484 kB / 1.333 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.943, allocations: 5.375 kB / 1.333 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.943, allocations: 1.969 kB / 1.333 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.9433, allocations: 354.2 kB / 1.333 GB, free: 18.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.9433, allocations: 1 kB / 1.333 GB, free: 18.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.9435, allocations: 61.2 kB / 1.333 GB, free: 18.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.9435, allocations: 2.359 kB / 1.333 GB, free: 18.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.9435, allocations: 13.58 kB / 1.333 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.9435, allocations: 2.453 kB / 1.333 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9435, allocations: 1.094 kB / 1.333 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.9441, allocations: 325.9 kB / 1.334 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.9442, allocations: 148.5 kB / 1.334 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.9443, allocations: 10.94 kB / 1.334 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.9445, allocations: 22.33 kB / 1.334 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.9446, allocations: 29.48 kB / 1.334 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.9446, allocations: 16.3 kB / 1.334 GB, free: 17.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000272/0.9449, allocations: 246.5 kB / 1.334 GB, free: 17.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9449, allocations: 0 / 1.334 GB, free: 17.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003965/0.9453, allocations: 81.64 kB / 1.334 GB, free: 17.61 MB / 1.061 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.001548/0.9468, allocations: 470.2 kB / 1.335 GB, free: 17.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.9472, allocations: 223.7 kB / 1.335 GB, free: 17.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9472, allocations: 1.312 kB / 1.335 GB, free: 17.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.9474, allocations: 119.3 kB / 1.335 GB, free: 17.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9477, allocations: 47.17 kB / 1.335 GB, free: 17.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/0.9486, allocations: 0.5758 MB / 1.336 GB, free: 16.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.9488, allocations: 0.7736 MB / 1.336 GB, free: 16.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.9489, allocations: 51.42 kB / 1.336 GB, free: 16.21 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.9489, allocations: 0 / 1.336 GB, free: 16.21 MB / 1.061 GB Notification: Performance of Templates: time 0.007948/0.9568, allocations: 4.898 MB / 1.341 GB, free: 15.62 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.511923495010706]