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.0009218/0.0009218, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009708/0.0009708, allocations: 161 kB / 24.17 MB, free: 328 kB / 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/1, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.713e-06/1.713e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.181e-05, allocations: 5.266 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003715/0.003746, allocations: 1.953 MB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.006989, allocations: 1.85 MB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.007133, allocations: 4 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.007457, allocations: 37.8 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005351/0.007992, allocations: 123.7 kB / 0.7639 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.008512, allocations: 172.3 kB / 0.7641 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.008904, allocations: 311 kB / 0.7644 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.009018, allocations: 21.94 kB / 0.7644 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03755/0.04657, allocations: 10.52 MB / 0.7747 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.04677, allocations: 90.03 kB / 0.7747 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.04682, allocations: 20 kB / 0.7748 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.04703, allocations: 67.92 kB / 0.7748 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.04713, allocations: 95.72 kB / 0.7749 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.04723, allocations: 79.75 kB / 0.775 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.04765, allocations: 270.9 kB / 0.7752 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.04765, allocations: 1.344 kB / 0.7753 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/0.04765, allocations: 0 / 0.7753 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.04766, allocations: 0 / 0.7753 GB, free: 10.79 MB / 0.7292 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.0006112/0.04827, allocations: 476.6 kB / 0.7757 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.04831, allocations: 14.72 kB / 0.7757 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.04846, allocations: 44.83 kB / 0.7758 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.04875, allocations: 244.7 kB / 0.776 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.04877, allocations: 12.75 kB / 0.776 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.0488, allocations: 24.38 kB / 0.776 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.04906, allocations: 287.2 kB / 0.7763 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.04907, allocations: 3.938 kB / 0.7763 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.04909, allocations: 11.72 kB / 0.7763 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.0491, allocations: 8 kB / 0.7763 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.04965, allocations: 490.4 kB / 0.7768 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.05031, allocations: 390.4 kB / 0.7772 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.05054, allocations: 140.5 kB / 0.7773 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.05061, allocations: 44.83 kB / 0.7773 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.05065, allocations: 19.98 kB / 0.7774 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.05085, allocations: 180.6 kB / 0.7775 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.05085, allocations: 1.969 kB / 0.7775 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.0002805/0.05113, allocations: 178.4 kB / 0.7777 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.05118, allocations: 110.8 kB / 0.7778 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.05136, allocations: 216.9 kB / 0.778 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.05138, allocations: 33.7 kB / 0.7781 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.05143, allocations: 113.5 kB / 0.7782 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.05151, allocations: 128 kB / 0.7783 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.05158, allocations: 61.64 kB / 0.7783 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.05168, allocations: 343.7 kB / 0.7787 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.05173, allocations: 23.98 kB / 0.7787 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.05189, allocations: 121.9 kB / 0.7788 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.05203, allocations: 110.5 kB / 0.7789 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.05203, allocations: 4 kB / 0.7789 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002048/0.05223, allocations: 149.5 kB / 0.7791 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.05225, allocations: 8 kB / 0.7791 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.05225, allocations: 0.5312 kB / 0.7791 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.05226, allocations: 0.6875 kB / 0.7791 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.05244, allocations: 63.89 kB / 0.7791 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.05244, allocations: 1.75 kB / 0.7791 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.05253, allocations: 23.89 kB / 0.7792 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.05255, allocations: 11.97 kB / 0.7792 GB, free: 6.551 MB / 0.7292 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.000102/0.05265, allocations: 141.7 kB / 0.7793 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.05269, allocations: 27.97 kB / 0.7793 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.05301, allocations: 223.8 kB / 0.7795 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.05301, allocations: 5.031 kB / 0.7795 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.05301, allocations: 0 / 0.7795 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.05302, allocations: 3.938 kB / 0.7795 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.0532, allocations: 170.5 kB / 0.7797 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.0532, allocations: 0 / 0.7797 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.05334, allocations: 55.91 kB / 0.7798 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.05334, allocations: 5.312 kB / 0.7798 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.05335, allocations: 4 kB / 0.7798 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.05336, allocations: 4 kB / 0.7798 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.05336, allocations: 1.031 kB / 0.7798 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.05356, allocations: 187.4 kB / 0.78 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.05364, allocations: 63.7 kB / 0.78 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.05368, allocations: 9.359 kB / 0.78 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.05376, allocations: 19.98 kB / 0.78 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.0538, allocations: 23.95 kB / 0.7801 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.05382, allocations: 5.5 kB / 0.7801 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.889e-05/0.05389, allocations: 74.77 kB / 0.7801 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.05389, allocations: 0 / 0.7801 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002367/0.05413, allocations: 63.94 kB / 0.7802 GB, free: 5.438 MB / 0.7292 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.001116/0.05524, allocations: 447.5 kB / 0.7806 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.05557, allocations: 124.6 kB / 0.7808 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.05557, allocations: 4.781 kB / 0.7808 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.05567, allocations: 84.53 kB / 0.7808 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.05585, allocations: 53.5 kB / 0.7809 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.05673, allocations: 459.9 kB / 0.7813 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.069e-05/0.05679, allocations: 97.98 kB / 0.7814 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.05697, allocations: 84.86 kB / 0.7815 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.05717, allocations: 132.4 kB / 0.7816 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.05717, allocations: 1.094 kB / 0.7816 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.006763/0.06393, allocations: 3.756 MB / 0.7853 GB, free: 0.5 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.308601637836546]