Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002231/0.002231, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.002874/0.002874, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.663/1.663, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.368/3.368, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.487e-05, allocations: 6.703 kB / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003705/0.00373, allocations: 1.919 MB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.006838, allocations: 1.816 MB / 0.8811 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.006909, allocations: 0 / 0.8811 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.007145, allocations: 39.64 kB / 0.8812 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.007575, allocations: 127.2 kB / 0.8813 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.008028, allocations: 169.4 kB / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.008462, allocations: 301.3 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.008574, allocations: 29.23 kB / 0.8817 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.008783, allocations: 147.7 kB / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.009018, allocations: 91.75 kB / 0.882 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.009075, allocations: 24.72 kB / 0.882 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.009344, allocations: 123.9 kB / 0.8821 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.009479, allocations: 93.39 kB / 0.8822 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.00972, allocations: 87.73 kB / 0.8823 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.01032, allocations: 406.6 kB / 0.8827 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01032, allocations: 0 / 0.8827 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01032, allocations: 0 / 0.8827 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.01033, allocations: 0.5 kB / 0.8827 GB, free: 1.316 MB / 0.8386 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.001043/0.01137, allocations: 0.6331 MB / 0.8833 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.01141, allocations: 8.969 kB / 0.8833 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.01162, allocations: 56.67 kB / 0.8834 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.01201, allocations: 233.1 kB / 0.8836 GB, free: 340 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.01203, allocations: 12.75 kB / 0.8836 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.01208, allocations: 24.38 kB / 0.8836 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.01265, allocations: 364.7 kB / 0.884 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.01267, allocations: 3.938 kB / 0.884 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.01269, allocations: 12 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.0127, allocations: 4 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.01377, allocations: 0.674 MB / 0.8846 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.01501, allocations: 0.5929 MB / 0.8852 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.01554, allocations: 238.3 kB / 0.8855 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.01572, allocations: 91.45 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/0.01577, allocations: 19.98 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000646/0.01642, allocations: 229.8 kB / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.01642, allocations: 0 / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.0007532/0.01717, allocations: 334.2 kB / 0.8861 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.01729, allocations: 136.5 kB / 0.8862 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.01767, allocations: 344.3 kB / 0.8866 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.01771, allocations: 29.7 kB / 0.8866 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.01786, allocations: 195.8 kB / 0.8868 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.018, allocations: 134.9 kB / 0.8869 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.01814, allocations: 79.34 kB / 0.887 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003092/0.01845, allocations: 0.5235 MB / 0.8875 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.01859, allocations: 59.97 kB / 0.8875 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.01888, allocations: 212.4 kB / 0.8877 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.01923, allocations: 181 kB / 0.8879 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01923, allocations: 0 / 0.8879 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005171/0.01975, allocations: 269.1 kB / 0.8882 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01977, allocations: 8 kB / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01978, allocations: 0 / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01979, allocations: 0 / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.02008, allocations: 63.91 kB / 0.8882 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.02009, allocations: 0 / 0.8882 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.02024, allocations: 35.77 kB / 0.8883 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.02027, allocations: 12 kB / 0.8883 GB, free: 11.25 MB / 0.8542 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.0001915/0.02046, allocations: 188.4 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.02055, allocations: 39.86 kB / 0.8885 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/0.0213, allocations: 352.7 kB / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.02131, allocations: 4 kB / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.02131, allocations: 0 / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.02132, allocations: 7.922 kB / 0.8889 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.02169, allocations: 260.4 kB / 0.8891 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02169, allocations: 0 / 0.8891 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.0219, allocations: 59.91 kB / 0.8892 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.02191, allocations: 4 kB / 0.8892 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.02193, allocations: 8 kB / 0.8892 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.02193, allocations: 0 / 0.8892 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02193, allocations: 4.047 kB / 0.8892 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.0225, allocations: 334.5 kB / 0.8895 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.02266, allocations: 75.61 kB / 0.8896 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.02271, allocations: 8 kB / 0.8896 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.02288, allocations: 19.98 kB / 0.8896 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.02295, allocations: 23.95 kB / 0.8896 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.02298, allocations: 12 kB / 0.8896 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002453/0.02322, allocations: 241.1 kB / 0.8899 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02322, allocations: 0 / 0.8899 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003463/0.02357, allocations: 83.81 kB / 0.8899 GB, free: 9.488 MB / 0.8542 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.003123/0.02669, allocations: 0.4933 MB / 0.8904 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.02728, allocations: 215.2 kB / 0.8906 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.02728, allocations: 0 / 0.8906 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.02752, allocations: 131.4 kB / 0.8907 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.02792, allocations: 64.41 kB / 0.8908 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.02904, allocations: 495.2 kB / 0.8913 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.02921, allocations: 158.8 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003257/0.02954, allocations: 142.9 kB / 0.8916 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.02965, allocations: 48.48 kB / 0.8916 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of SimCode: time 1.183e-06/0.02965, allocations: 0 / 0.8916 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of Templates: time 0.01026/0.03991, allocations: 3.995 MB / 0.8955 GB, free: 3.977 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.81368933909107]