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.002138/0.002138, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002483/0.002483, allocations: 220 kB / 23.03 MB, free: 4.922 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.066/3.066, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_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.001921/0.001921, allocations: 67.17 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3753, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003706/0.379, allocations: 1.885 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.382, allocations: 1.784 MB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3821, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.3823, allocations: 27.78 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.3828, allocations: 127.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.3833, allocations: 172.1 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.3837, allocations: 293.3 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3838, allocations: 21.3 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3839, allocations: 107.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.3841, allocations: 111.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.3842, allocations: 20 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.3844, allocations: 127.9 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3845, allocations: 87.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3847, allocations: 107.4 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.3852, allocations: 382.5 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3852, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3852, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.3852, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 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.000893/0.3861, allocations: 0.5208 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3861, allocations: 12.03 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.002e-05/0.3862, allocations: 4.188 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.72e-05/0.3862, allocations: 54.73 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3864, allocations: 32.75 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.3867, allocations: 229 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3867, allocations: 20.12 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.3868, allocations: 16 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.3873, allocations: 370.1 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3873, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.3873, allocations: 8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3873, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009966/0.3883, allocations: 0.749 MB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3894, allocations: 0.5738 MB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.39, allocations: 294.5 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3901, allocations: 101.4 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.3902, allocations: 16.27 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004538/0.3906, allocations: 230.8 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.3906, allocations: 0 / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007823/0.3914, allocations: 382 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.3915, allocations: 132.5 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.3919, allocations: 329 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3919, allocations: 29.7 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3921, allocations: 136.7 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3922, allocations: 130.9 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3923, allocations: 69.55 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3925, allocations: 342.8 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3927, allocations: 79.95 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.3929, allocations: 208.6 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.3933, allocations: 213.2 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3933, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005073/0.3938, allocations: 285.1 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3938, allocations: 11.92 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3938, allocations: 0 / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3938, allocations: 4 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.3941, allocations: 63.91 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3941, allocations: 0 / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3943, allocations: 23.88 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3943, allocations: 16 kB / 1.337 GB, free: 6.355 MB / 1.029 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.0002094/0.3945, allocations: 161.8 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3946, allocations: 31.8 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.3953, allocations: 392.7 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3953, allocations: 4 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3953, allocations: 0 / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3954, allocations: 0 / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.3957, allocations: 284.4 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3957, allocations: 7.938 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3959, allocations: 63.97 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3959, allocations: 3.938 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.396, allocations: 15.98 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.396, allocations: 0 / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.396, allocations: 3.938 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.3965, allocations: 330.5 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3966, allocations: 71.67 kB / 1.339 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.3967, allocations: 4 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3969, allocations: 27.97 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3969, allocations: 27.95 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.397, allocations: 12 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002606/0.3972, allocations: 252.4 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3972, allocations: 0 / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003549/0.3976, allocations: 83.77 kB / 1.339 GB, free: 4.539 MB / 1.029 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.002479/0.4001, allocations: 1.261 MB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000458/0.4005, allocations: 224.1 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4005, allocations: 0 / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.4007, allocations: 115.9 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4011, allocations: 45.89 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.4046, allocations: 2.565 MB / 1.343 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.4047, allocations: 154.9 kB / 1.343 GB, free: 256 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003582/0.4051, allocations: 142.9 kB / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4052, allocations: 107.4 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.4052, allocations: 0 / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.4389, allocations: 6.948 MB / 1.35 GB, free: 9.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.27, allocations: 19.19 kB / 1.35 GB, free: 9.152 MB / 1.045 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.100269656977616]