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.00188/0.00188, allocations: 85.11 kB / 19.18 MB, free: 2.527 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.001991/0.001991, allocations: 167.5 kB / 22.46 MB, free: 5.359 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.8/2.8, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.824e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003373/0.003401, allocations: 1.871 MB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.006268, allocations: 1.8 MB / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.006346, allocations: 0 / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.006582, allocations: 31.67 kB / 0.9851 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004513/0.007033, allocations: 131.2 kB / 0.9852 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.007521, allocations: 167.1 kB / 0.9853 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000437/0.007958, allocations: 305.2 kB / 0.9856 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.008067, allocations: 29.17 kB / 0.9857 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.008256, allocations: 147.7 kB / 0.9858 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.008462, allocations: 87.81 kB / 0.9859 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.008513, allocations: 23.94 kB / 0.9859 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.008758, allocations: 127.9 kB / 0.986 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.008889, allocations: 91.73 kB / 0.9861 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.009011, allocations: 87.73 kB / 0.9862 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.009588, allocations: 402.7 kB / 0.9866 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.009595, allocations: 8 kB / 0.9866 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.009596, allocations: 0 / 0.9866 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.009602, allocations: 0 / 0.9866 GB, free: 6.625 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009881/0.01059, allocations: 0.5251 MB / 0.9871 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.01065, allocations: 8.031 kB / 0.9871 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.01087, allocations: 44.7 kB / 0.9872 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.01122, allocations: 216.8 kB / 0.9874 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.01125, allocations: 16.75 kB / 0.9874 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.01128, allocations: 16.38 kB / 0.9874 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.01184, allocations: 377.1 kB / 0.9878 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01185, allocations: 7.938 kB / 0.9878 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.01188, allocations: 8 kB / 0.9878 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.01189, allocations: 7.984 kB / 0.9878 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.01293, allocations: 0.7015 MB / 0.9885 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.01416, allocations: 0.5428 MB / 0.989 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.01475, allocations: 286.3 kB / 0.9893 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.01493, allocations: 104.8 kB / 0.9894 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.01498, allocations: 23.92 kB / 0.9894 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.01543, allocations: 227.5 kB / 0.9896 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.01544, allocations: 0 / 0.9896 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36): time 0.0007644/0.0162, allocations: 391 kB / 0.99 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.01631, allocations: 132.5 kB / 0.9901 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.01668, allocations: 329.8 kB / 0.9904 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.01672, allocations: 41.64 kB / 0.9905 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01683, allocations: 133 kB / 0.9906 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.01695, allocations: 130.9 kB / 0.9907 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.01706, allocations: 69.69 kB / 0.9908 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.01723, allocations: 342.8 kB / 0.9911 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.01739, allocations: 83.89 kB / 0.9912 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.01765, allocations: 217.8 kB / 0.9914 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.01803, allocations: 213.8 kB / 0.9916 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01803, allocations: 3.938 kB / 0.9916 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005506/0.01858, allocations: 296.9 kB / 0.9919 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.0186, allocations: 7.938 kB / 0.9919 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01861, allocations: 48 / 0.9919 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.01863, allocations: 7.984 kB / 0.9919 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.01887, allocations: 59.91 kB / 0.992 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01888, allocations: 0 / 0.992 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.01905, allocations: 39.81 kB / 0.992 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.01908, allocations: 8 kB / 0.992 GB, free: 0.8047 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: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.0002007/0.01928, allocations: 169.7 kB / 0.9922 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.01934, allocations: 31.81 kB / 0.9922 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.02007, allocations: 388.8 kB / 0.9926 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.02008, allocations: 4 kB / 0.9926 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.02008, allocations: 0 / 0.9926 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.02009, allocations: 3.938 kB / 0.9926 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.02041, allocations: 249.1 kB / 0.9928 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02041, allocations: 0 / 0.9928 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.0206, allocations: 59.91 kB / 0.9929 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.0206, allocations: 8 kB / 0.9929 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.02062, allocations: 8 kB / 0.9929 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.02062, allocations: 0 / 0.9929 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02063, allocations: 0 / 0.9929 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.02116, allocations: 342.3 kB / 0.9932 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.0213, allocations: 75.62 kB / 0.9933 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.02134, allocations: 4 kB / 0.9933 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.02154, allocations: 27.97 kB / 0.9933 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.0216, allocations: 23.95 kB / 0.9933 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.02163, allocations: 15.98 kB / 0.9933 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002625/0.02189, allocations: 253.2 kB / 0.9936 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.02189, allocations: 0 / 0.9936 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003724/0.02227, allocations: 91.73 kB / 0.9937 GB, free: 15.02 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001705/0.02397, allocations: 495.5 kB / 0.9942 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.02441, allocations: 235.8 kB / 0.9944 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02441, allocations: 0 / 0.9944 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.02462, allocations: 127.8 kB / 0.9945 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.02495, allocations: 40.47 kB / 0.9945 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.02588, allocations: 0.5385 MB / 0.9951 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.02603, allocations: 155 kB / 0.9952 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003476/0.02638, allocations: 146.8 kB / 0.9953 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.02648, allocations: 44.48 kB / 0.9954 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.02648, allocations: 0 / 0.9954 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.009045/0.03552, allocations: 3.876 MB / 0.9992 GB, free: 9.586 MB / 0.9512 GB " [Timeout remaining time 300] 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/jenkins/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: 8.06713180243969]