Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001733/0.001733, allocations: 97.31 kB / 19.73 MB, free: 2.145 MB / 14.72 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.002126/0.002126, allocations: 220.4 kB / 23.03 MB, free: 4.953 MB / 14.72 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.961/2.961, allocations: 476.8 MB / 0.7715 GB, free: 3.859 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.348, allocations: 169.9 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004271/0.3523, allocations: 1.881 MB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.3556, allocations: 1.777 MB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3557, allocations: 4 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.3561, allocations: 31.77 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.3565, allocations: 117.4 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.3571, allocations: 172.1 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.3575, allocations: 301.3 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3576, allocations: 25.3 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3578, allocations: 103.8 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.358, allocations: 107.6 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.358, allocations: 20 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.3583, allocations: 127.9 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3584, allocations: 91.73 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3585, allocations: 107.4 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.3591, allocations: 375.6 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3591, allocations: 0 / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3591, allocations: 8 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.3591, allocations: 0 / 1.289 GB, free: 5.344 MB / 0.9825 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.00114/0.3603, allocations: 0.5131 MB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3603, allocations: 11.97 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.856e-05/0.3604, allocations: 8.188 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.738e-05/0.3604, allocations: 54.73 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.3607, allocations: 36.75 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.361, allocations: 228.9 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.361, allocations: 24.08 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.3611, allocations: 16 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.3616, allocations: 365.5 kB / 1.29 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3616, allocations: 0 / 1.29 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.3616, allocations: 8 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3616, allocations: 4 kB / 1.29 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3627, allocations: 0.7528 MB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3638, allocations: 0.5777 MB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.3643, allocations: 283.1 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.3645, allocations: 109.4 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.3645, allocations: 16.27 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.365, allocations: 230.8 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.894e-06/0.365, allocations: 0 / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007808/0.3658, allocations: 383.5 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3659, allocations: 132.5 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.3663, allocations: 325.1 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3663, allocations: 29.7 kB / 1.293 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3664, allocations: 132.7 kB / 1.293 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3665, allocations: 130.9 kB / 1.293 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3666, allocations: 65.69 kB / 1.293 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3668, allocations: 342.8 kB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.367, allocations: 83.81 kB / 1.294 GB, free: 284 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.3672, allocations: 201.5 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.3676, allocations: 216.6 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3676, allocations: 0 / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000586/0.3682, allocations: 285.7 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3682, allocations: 7.938 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3682, allocations: 0 / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3682, allocations: 3.984 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.3685, allocations: 67.91 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3685, allocations: 4 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3687, allocations: 23.88 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.3687, allocations: 12 kB / 1.295 GB, free: 15.43 MB / 0.9981 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.0001961/0.3689, allocations: 167 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.369, allocations: 39.69 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007741/0.3697, allocations: 388.7 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3697, allocations: 7.938 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3698, allocations: 3.984 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3698, allocations: 0 / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.3701, allocations: 288.3 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3701, allocations: 0 / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.3703, allocations: 59.97 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3703, allocations: 7.938 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.3703, allocations: 11.98 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3703, allocations: 4 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3703, allocations: 3.938 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.3709, allocations: 330.5 kB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.371, allocations: 67.67 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.3711, allocations: 8.047 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.3712, allocations: 31.33 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.3713, allocations: 23.95 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.3713, allocations: 20 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002457/0.3716, allocations: 244.4 kB / 1.296 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3716, allocations: 0 / 1.296 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003539/0.3719, allocations: 87.81 kB / 1.296 GB, free: 13.6 MB / 0.9981 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.002577/0.3745, allocations: 1.235 MB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.375, allocations: 224.3 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.375, allocations: 4 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.3752, allocations: 128.3 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3755, allocations: 44.14 kB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3791, allocations: 2.577 MB / 1.3 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3793, allocations: 151.4 kB / 1.301 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003787/0.3797, allocations: 142.9 kB / 1.301 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.3799, allocations: 115.2 kB / 1.301 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/0.3799, allocations: 0 / 1.301 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.4137, allocations: 6.947 MB / 1.308 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.42, allocations: 5.766 kB / 1.308 GB, free: 2.227 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.542421575053595]