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.001874/0.001874, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.00199/0.00199, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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 3.137/3.137, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 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.743e-06/1.743e-06, allocations: 0 / 0.8108 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.215e-05, allocations: 4.984 kB / 0.8108 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003708/0.00374, allocations: 1.921 MB / 0.8127 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.006969, allocations: 1.826 MB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.00705, allocations: 0 / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.007304, allocations: 24.36 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.007779, allocations: 136.6 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.008265, allocations: 164.8 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.008708, allocations: 301.2 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.008851, allocations: 29.23 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.009064, allocations: 144.4 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.009319, allocations: 91.8 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.009376, allocations: 24.91 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.009639, allocations: 127.8 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.009775, allocations: 92.39 kB / 0.8156 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.00991, allocations: 87.73 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.01051, allocations: 399.3 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.01051, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01051, allocations: 1.25 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.01052, allocations: 3.938 kB / 0.816 GB, free: 12.6 MB / 0.7761 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.001038/0.01156, allocations: 0.6286 MB / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.01159, allocations: 10.12 kB / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.01181, allocations: 60.67 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.01219, allocations: 223.5 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.01222, allocations: 20.69 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.01225, allocations: 20.38 kB / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.0132, allocations: 369.3 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01321, allocations: 3.938 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.01324, allocations: 8 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.01325, allocations: 5.531 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.01428, allocations: 0.6742 MB / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.01558, allocations: 0.5977 MB / 0.8186 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.01611, allocations: 234.3 kB / 0.8188 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.01629, allocations: 100.2 kB / 0.8189 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.01634, allocations: 15.98 kB / 0.8189 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.01671, allocations: 222.8 kB / 0.8191 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.01672, allocations: 0 / 0.8191 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.0007496/0.01746, allocations: 335.7 kB / 0.8194 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.01758, allocations: 136.5 kB / 0.8196 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.01797, allocations: 340.3 kB / 0.8199 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.01801, allocations: 33.7 kB / 0.8199 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.01817, allocations: 196.3 kB / 0.8201 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.01832, allocations: 134.9 kB / 0.8202 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.01846, allocations: 80 kB / 0.8203 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003342/0.01879, allocations: 0.524 MB / 0.8208 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.01895, allocations: 67.95 kB / 0.8209 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.01925, allocations: 209.9 kB / 0.8211 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.01959, allocations: 176.6 kB / 0.8213 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01959, allocations: 0.9375 kB / 0.8213 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005317/0.02013, allocations: 265 kB / 0.8215 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.02015, allocations: 8.469 kB / 0.8215 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.02015, allocations: 0 / 0.8215 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.02017, allocations: 5.375 kB / 0.8215 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.02044, allocations: 67.89 kB / 0.8216 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.02045, allocations: 4 kB / 0.8216 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.0206, allocations: 31.17 kB / 0.8216 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.02063, allocations: 15.98 kB / 0.8216 GB, free: 6.539 MB / 0.7761 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.0001925/0.02082, allocations: 181.1 kB / 0.8218 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.02091, allocations: 39.81 kB / 0.8219 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/0.02163, allocations: 349.2 kB / 0.8222 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.02164, allocations: 4 kB / 0.8222 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02164, allocations: 0 / 0.8222 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.02165, allocations: 7.922 kB / 0.8222 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.02203, allocations: 265 kB / 0.8225 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02203, allocations: 0 / 0.8225 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.02223, allocations: 60.47 kB / 0.8225 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02223, allocations: 5.875 kB / 0.8225 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.02226, allocations: 11.98 kB / 0.8225 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.02226, allocations: 0 / 0.8225 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.02226, allocations: 0 / 0.8225 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.02283, allocations: 326.6 kB / 0.8228 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.02299, allocations: 68.59 kB / 0.8229 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.02303, allocations: 12 kB / 0.8229 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.02319, allocations: 19.45 kB / 0.8229 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.02326, allocations: 23.95 kB / 0.823 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.02329, allocations: 15.98 kB / 0.823 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002445/0.02353, allocations: 237.1 kB / 0.8232 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02353, allocations: 0 / 0.8232 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003718/0.02391, allocations: 87.77 kB / 0.8233 GB, free: 4.801 MB / 0.7761 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.002985/0.02689, allocations: 0.4968 MB / 0.8238 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.02736, allocations: 211.5 kB / 0.824 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.02737, allocations: 5.281 kB / 0.824 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.0276, allocations: 131.4 kB / 0.8241 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.02795, allocations: 63.69 kB / 0.8242 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.02929, allocations: 0.49 MB / 0.8246 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.02947, allocations: 155.8 kB / 0.8248 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.0298, allocations: 140.8 kB / 0.8249 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.02991, allocations: 48.47 kB / 0.825 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.02991, allocations: 0 / 0.825 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of Templates: time 0.009707/0.03961, allocations: 3.983 MB / 0.8289 GB, free: 15.31 MB / 0.7917 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","/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.5389030049555]