Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008027/0.0008027, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008125/0.0008125, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.8556/0.8556, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.741/1.741, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.219e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002679/0.002701, allocations: 1.873 MB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.004269, allocations: 1.784 MB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.004338, allocations: 4 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.004541, allocations: 35.7 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.004856, allocations: 123.3 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.005147, allocations: 180.8 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.005376, allocations: 305.2 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.005468, allocations: 21.3 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.005577, allocations: 143.7 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.006016, allocations: 95.8 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.006043, allocations: 20 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.006255, allocations: 127.8 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.006337, allocations: 95.72 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.006403, allocations: 83.75 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.006729, allocations: 414.6 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006731, allocations: 0 / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006732, allocations: 0 / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.006736, allocations: 0 / 1.005 GB, free: 8.172 MB / 0.9636 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.0005655/0.007302, allocations: 0.5271 MB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.007337, allocations: 8.75 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.007377, allocations: 50.73 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.007475, allocations: 40.73 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.00768, allocations: 224.7 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.007696, allocations: 16.75 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.007715, allocations: 24.38 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.008002, allocations: 369.2 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.008013, allocations: 7.938 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.008028, allocations: 4 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.008034, allocations: 4 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.008533, allocations: 0.7015 MB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.009223, allocations: 0.5852 MB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.009556, allocations: 294.4 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.009659, allocations: 100.8 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.009689, allocations: 15.98 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.009934, allocations: 236 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.403e-06/0.009935, allocations: 0 / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.000437/0.01037, allocations: 381.7 kB / 1.008 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.01043, allocations: 144.3 kB / 1.008 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.01063, allocations: 325.9 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01065, allocations: 29.7 kB / 1.009 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.01071, allocations: 141 kB / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.01077, allocations: 127 kB / 1.009 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.01083, allocations: 69.67 kB / 1.009 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.01092, allocations: 338.8 kB / 1.009 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.01102, allocations: 83.95 kB / 1.009 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.01117, allocations: 212.4 kB / 1.01 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.01138, allocations: 218.1 kB / 1.01 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01139, allocations: 0 / 1.01 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002835/0.01167, allocations: 298.2 kB / 1.01 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.01168, allocations: 4 kB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01168, allocations: 0 / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.0117, allocations: 4 kB / 1.01 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.01182, allocations: 71.84 kB / 1.01 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01183, allocations: 3.938 kB / 1.01 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.0119, allocations: 31.77 kB / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01192, allocations: 16 kB / 1.01 GB, free: 2.246 MB / 0.9636 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.0001096/0.01203, allocations: 165.7 kB / 1.01 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.01206, allocations: 27.81 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.01244, allocations: 388.8 kB / 1.011 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01244, allocations: 4 kB / 1.011 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01244, allocations: 7.938 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01245, allocations: 0 / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.01264, allocations: 288.5 kB / 1.011 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01264, allocations: 4 kB / 1.011 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.01274, allocations: 59.91 kB / 1.011 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01274, allocations: 4 kB / 1.011 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01275, allocations: 8 kB / 1.011 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01275, allocations: 0 / 1.011 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01276, allocations: 3.938 kB / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.01304, allocations: 335.2 kB / 1.012 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.01311, allocations: 71.69 kB / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01314, allocations: 4 kB / 1.012 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.01321, allocations: 23.97 kB / 1.012 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.01326, allocations: 35.89 kB / 1.012 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.01327, allocations: 15.98 kB / 1.012 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001316/0.0134, allocations: 253.1 kB / 1.012 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0134, allocations: 0 / 1.012 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002026/0.0136, allocations: 87.81 kB / 1.012 GB, free: 436 kB / 0.9636 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.001155/0.01476, allocations: 1.251 MB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.01504, allocations: 228 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01504, allocations: 4 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01516, allocations: 127.5 kB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01534, allocations: 40.69 kB / 1.014 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.01728, allocations: 2.614 MB / 1.016 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.01737, allocations: 155 kB / 1.016 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.01755, allocations: 146.9 kB / 1.016 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.01765, allocations: 104.5 kB / 1.017 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/0.01765, allocations: 0 / 1.017 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.03607, allocations: 7.408 MB / 1.024 GB, free: 4.512 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/6.967, allocations: 6.125 kB / 1.024 GB, free: 4.508 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.9988729711622]