Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 103.1 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 58.62 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2658, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003413/0.2692, allocations: 1.873 MB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.2716, allocations: 1.584 MB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2717, allocations: 7.938 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.2719, allocations: 23.78 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.2724, allocations: 79.61 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.2729, allocations: 168.8 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.2732, allocations: 277.4 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2733, allocations: 41.36 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2734, allocations: 91.81 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.2737, allocations: 119.6 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.2738, allocations: 20 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2739, allocations: 79.92 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.2741, allocations: 87.8 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2742, allocations: 119.3 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.2746, allocations: 323 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2746, allocations: 0 / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2746, allocations: 0 / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2746, allocations: 4 kB / 1.023 GB, free: 5.777 MB / 0.795 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.0007722/0.2754, allocations: 0.55 MB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2754, allocations: 8.922 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.2756, allocations: 40.55 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.2759, allocations: 274.7 kB / 1.024 GB, free: 4.82 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2759, allocations: 20.31 kB / 1.024 GB, free: 4.801 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.276, allocations: 20.12 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.2763, allocations: 240.9 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2764, allocations: 0 / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2764, allocations: 12 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2764, allocations: 4 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.2773, allocations: 0.7451 MB / 1.025 GB, free: 3.766 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.2783, allocations: 0.637 MB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.2788, allocations: 305.9 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.279, allocations: 105.4 kB / 1.026 GB, free: 2.664 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.279, allocations: 24.23 kB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.2794, allocations: 180.8 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.2794, allocations: 0 / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.0006958/0.2801, allocations: 389.2 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.2802, allocations: 132.5 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.2805, allocations: 309 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.2805, allocations: 33.7 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.2806, allocations: 128.7 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.2807, allocations: 126.2 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.2808, allocations: 65.69 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2809, allocations: 338.8 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.2811, allocations: 79.95 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.2813, allocations: 127.2 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.2816, allocations: 218.2 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2816, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004322/0.282, allocations: 281.2 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2821, allocations: 11.98 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2821, allocations: 7.922 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2821, allocations: 48 / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.2823, allocations: 63.89 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2824, allocations: 4 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.2825, allocations: 27.73 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.2826, allocations: 12 kB / 1.028 GB, free: 60 kB / 0.795 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.0001692/0.2827, allocations: 168.2 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.2828, allocations: 23.72 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.2835, allocations: 396.8 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2835, allocations: 7.938 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2835, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2835, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.2839, allocations: 349.1 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2839, allocations: 3.938 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.2841, allocations: 63.97 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2841, allocations: 0 / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2841, allocations: 11.94 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2841, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2841, allocations: 7.938 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.2846, allocations: 321.6 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2847, allocations: 140.7 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.2848, allocations: 11.94 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.285, allocations: 30.5 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.2851, allocations: 23.97 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.2851, allocations: 15.98 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002019/0.2853, allocations: 236.4 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2853, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003169/0.2856, allocations: 67.91 kB / 1.03 GB, free: 14.12 MB / 0.8106 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.0009557/0.2866, allocations: 409.8 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005695/0.2872, allocations: 308.2 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2872, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.2874, allocations: 136.3 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2877, allocations: 40.36 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.2886, allocations: 0.5704 MB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.2889, allocations: 0.7619 MB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.289, allocations: 55.41 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2891, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.007044/0.2961, allocations: 4.477 MB / 1.036 GB, free: 7.48 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches