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.0009724/0.0009724, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001132/0.001132, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9294/0.9294, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733/1.733, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.963e-05, allocations: 9.234 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002222/0.002242, allocations: 1.873 MB / 0.984 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.003911, allocations: 1.799 MB / 0.9858 GB, free: 14.37 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.003985, allocations: 3.938 kB / 0.9858 GB, free: 14.37 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.004203, allocations: 35.67 kB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.004558, allocations: 115.3 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.004874, allocations: 178.2 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.005133, allocations: 309.2 kB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005237, allocations: 21.23 kB / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.005376, allocations: 147.7 kB / 0.9866 GB, free: 13.58 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.005535, allocations: 95.8 kB / 0.9867 GB, free: 13.49 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.005565, allocations: 20 kB / 0.9867 GB, free: 13.47 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.005758, allocations: 127.8 kB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.956e-05/0.005858, allocations: 91.73 kB / 0.9869 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.005941, allocations: 87.73 kB / 0.987 GB, free: 13.17 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.00637, allocations: 402.7 kB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.006372, allocations: 4 kB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.006374, allocations: 0 / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.006379, allocations: 0 / 0.9874 GB, free: 12.77 MB / 0.948 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.0006962/0.007076, allocations: 0.5212 MB / 0.9879 GB, free: 12.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.007117, allocations: 12.03 kB / 0.9879 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.007252, allocations: 36.7 kB / 0.9879 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.00751, allocations: 224.8 kB / 0.9881 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.007532, allocations: 12.75 kB / 0.9881 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.007555, allocations: 20.38 kB / 0.9882 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.007917, allocations: 373.1 kB / 0.9885 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.007931, allocations: 11.94 kB / 0.9885 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.007951, allocations: 7.984 kB / 0.9885 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.007959, allocations: 4 kB / 0.9885 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.008526, allocations: 0.6976 MB / 0.9892 GB, free: 10.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.009329, allocations: 0.5506 MB / 0.9898 GB, free: 10.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.009713, allocations: 286.3 kB / 0.99 GB, free: 9.883 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.00983, allocations: 104.8 kB / 0.9901 GB, free: 9.777 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.009868, allocations: 19.98 kB / 0.9901 GB, free: 9.758 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.01015, allocations: 236 kB / 0.9904 GB, free: 9.504 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.01015, allocations: 0 / 0.9904 GB, free: 9.504 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.0005021/0.01066, allocations: 393.5 kB / 0.9907 GB, free: 9.113 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.01071, allocations: 132.5 kB / 0.9909 GB, free: 8.953 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.01093, allocations: 329.8 kB / 0.9912 GB, free: 8.629 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01096, allocations: 29.7 kB / 0.9912 GB, free: 8.594 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.01103, allocations: 137 kB / 0.9913 GB, free: 8.457 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.0111, allocations: 126.9 kB / 0.9915 GB, free: 8.332 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.01116, allocations: 69.62 kB / 0.9915 GB, free: 8.258 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.01126, allocations: 342.8 kB / 0.9919 GB, free: 7.914 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01136, allocations: 91.7 kB / 0.9919 GB, free: 7.824 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.01151, allocations: 206 kB / 0.9921 GB, free: 7.594 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.01175, allocations: 221.1 kB / 0.9924 GB, free: 7.375 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01175, allocations: 0 / 0.9924 GB, free: 7.375 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003173/0.01207, allocations: 296.9 kB / 0.9926 GB, free: 7.078 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01209, allocations: 4 kB / 0.9926 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01209, allocations: 0 / 0.9926 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.0121, allocations: 0 / 0.9926 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.01225, allocations: 71.84 kB / 0.9927 GB, free: 7.004 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01226, allocations: 4 kB / 0.9927 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.01234, allocations: 35.75 kB / 0.9927 GB, free: 6.965 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.01236, allocations: 16 kB / 0.9928 GB, free: 6.949 MB / 0.948 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.0001207/0.01248, allocations: 165.8 kB / 0.9929 GB, free: 6.777 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.01251, allocations: 31.75 kB / 0.993 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.01295, allocations: 388.8 kB / 0.9933 GB, free: 6.359 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01296, allocations: 4 kB / 0.9933 GB, free: 6.355 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01296, allocations: 0 / 0.9933 GB, free: 6.355 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01296, allocations: 3.938 kB / 0.9933 GB, free: 6.352 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.01316, allocations: 249.1 kB / 0.9936 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01316, allocations: 0 / 0.9936 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01327, allocations: 63.91 kB / 0.9936 GB, free: 6.016 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01327, allocations: 4 kB / 0.9936 GB, free: 6.012 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.01328, allocations: 8 kB / 0.9936 GB, free: 6.004 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.01328, allocations: 4 kB / 0.9936 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01329, allocations: 0 / 0.9936 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.01361, allocations: 343.1 kB / 0.994 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.01369, allocations: 71.62 kB / 0.994 GB, free: 5.578 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01371, allocations: 11.94 kB / 0.9941 GB, free: 5.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.0138, allocations: 23.97 kB / 0.9941 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.01384, allocations: 27.95 kB / 0.9941 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01386, allocations: 11.98 kB / 0.9941 GB, free: 5.504 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001563/0.01401, allocations: 249.2 kB / 0.9944 GB, free: 5.258 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01401, allocations: 0 / 0.9944 GB, free: 5.258 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002223/0.01423, allocations: 87.8 kB / 0.9944 GB, free: 5.172 MB / 0.948 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.0007198/0.01495, allocations: 491.8 kB / 0.9949 GB, free: 4.871 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.01524, allocations: 239.9 kB / 0.9951 GB, free: 4.641 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01524, allocations: 0 / 0.9951 GB, free: 4.641 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01536, allocations: 119.8 kB / 0.9952 GB, free: 4.523 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01555, allocations: 50.08 kB / 0.9953 GB, free: 4.477 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.01614, allocations: 0.5714 MB / 0.9959 GB, free: 3.871 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.54e-05/0.01623, allocations: 159 kB / 0.996 GB, free: 3.695 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.01631, allocations: 52.47 kB / 0.9961 GB, free: 3.645 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.01631, allocations: 0 / 0.9961 GB, free: 3.645 MB / 0.948 GB Notification: Performance of Templates: time 0.005014/0.02132, allocations: 5.036 MB / 1.001 GB, free: 14.62 MB / 0.9636 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: 7.068634771741927]