Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009635/0.0009635, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001071/0.001071, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9042/0.9042, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.96/1.96, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.438e-05, allocations: 6.219 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002426/0.002451, allocations: 1.889 MB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.00434, allocations: 1.791 MB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.004424, allocations: 4 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.004663, allocations: 23.8 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.005038, allocations: 131.2 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.005347, allocations: 170.4 kB / 1.005 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.005612, allocations: 301.2 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005727, allocations: 29.22 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.005851, allocations: 143.8 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.005996, allocations: 95.75 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.006026, allocations: 24 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.006202, allocations: 131.7 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.00629, allocations: 91.73 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.006372, allocations: 87.73 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.006879, allocations: 398.7 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.006883, allocations: 0 / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006885, allocations: 0 / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.00689, allocations: 0 / 1.006 GB, free: 8.164 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.0008341/0.007724, allocations: 0.5251 MB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.633e-05/0.007801, allocations: 13.34 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.00785, allocations: 50.73 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.00797, allocations: 40.69 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.008215, allocations: 228.6 kB / 1.007 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.008234, allocations: 12.75 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.008255, allocations: 20.38 kB / 1.007 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.008587, allocations: 377.2 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.008596, allocations: 0 / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.008617, allocations: 8 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.008625, allocations: 7.984 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.00922, allocations: 0.7054 MB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/0.01004, allocations: 0.5775 MB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.01042, allocations: 293.7 kB / 1.009 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01054, allocations: 97.7 kB / 1.009 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.01057, allocations: 19.92 kB / 1.009 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003903/0.01096, allocations: 235.7 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 2.215e-06/0.01097, allocations: 0 / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.0005003/0.01147, allocations: 381 kB / 1.009 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.01154, allocations: 152.3 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.01178, allocations: 321.9 kB / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.0118, allocations: 33.7 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.01187, allocations: 141 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.01194, allocations: 123 kB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.01201, allocations: 65.69 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.0121, allocations: 338.8 kB / 1.01 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01221, allocations: 87.94 kB / 1.011 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.01236, allocations: 204.5 kB / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.01259, allocations: 222.7 kB / 1.011 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01259, allocations: 4 kB / 1.011 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003112/0.0129, allocations: 292.9 kB / 1.011 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01292, allocations: 8 kB / 1.011 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.01293, allocations: 0 / 1.011 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01294, allocations: 0 / 1.011 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.0131, allocations: 67.84 kB / 1.011 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.01311, allocations: 4 kB / 1.011 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.01321, allocations: 31.77 kB / 1.011 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01323, allocations: 11.98 kB / 1.011 GB, free: 2.242 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.0001279/0.01336, allocations: 169.8 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.01339, allocations: 31.81 kB / 1.012 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.01391, allocations: 382 kB / 1.012 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.01392, allocations: 8 kB / 1.012 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.01392, allocations: 3.938 kB / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.01393, allocations: 11.92 kB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.01415, allocations: 280.5 kB / 1.012 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01415, allocations: 4 kB / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01426, allocations: 59.97 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01426, allocations: 0 / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01428, allocations: 11.98 kB / 1.012 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01428, allocations: 7.938 kB / 1.012 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.01428, allocations: 3.938 kB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.01461, allocations: 334 kB / 1.013 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.01471, allocations: 75.67 kB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.01473, allocations: 8 kB / 1.013 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.01483, allocations: 23.97 kB / 1.013 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.01488, allocations: 27.89 kB / 1.013 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.01489, allocations: 16 kB / 1.013 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001452/0.01504, allocations: 245.2 kB / 1.013 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01504, allocations: 0 / 1.013 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002482/0.01529, allocations: 87.81 kB / 1.013 GB, free: 424 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.001355/0.01664, allocations: 1.259 MB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.01696, allocations: 224 kB / 1.014 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.01696, allocations: 4 kB / 1.014 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.0171, allocations: 131.5 kB / 1.015 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.01733, allocations: 47.73 kB / 1.015 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.01983, allocations: 2.61 MB / 1.017 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.01995, allocations: 159 kB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.02018, allocations: 143 kB / 1.017 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.0203, allocations: 108.4 kB / 1.018 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.092e-06/0.02031, allocations: 0 / 1.018 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0997/0.12, allocations: 7.403 MB / 1.025 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.17, allocations: 8.891 kB / 1.025 GB, free: 4.496 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_fmpy.pipe ; mkfifo Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_fmpy_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 ../Buildings_13_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu) > Buildings_13_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.10183332208544]