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.00211/0.00211, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003235/0.003235, allocations: 211.2 kB / 22.24 MB, free: 4.855 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.235/3.235, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002036/0.002036, allocations: 66.75 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.322, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003397/0.3254, allocations: 1.897 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.3282, allocations: 1.773 MB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.3283, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.3285, allocations: 31.77 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.3289, allocations: 127.4 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.3293, allocations: 172.9 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.3297, allocations: 297.2 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3298, allocations: 21.3 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3299, allocations: 111.7 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.3301, allocations: 90.22 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.3302, allocations: 23.98 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.3304, allocations: 127.9 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3305, allocations: 91.69 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3307, allocations: 107.4 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.3311, allocations: 374.5 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3312, allocations: 4 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3312, allocations: 0 / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3312, allocations: 0 / 1.368 GB, free: 8.887 MB / 1.061 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.0009138/0.3321, allocations: 0.5144 MB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3321, allocations: 11.97 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.3322, allocations: 54.73 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.3323, allocations: 44.7 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3327, allocations: 221 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3327, allocations: 16.38 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.3327, allocations: 19.94 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.3332, allocations: 366.2 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3332, allocations: 0 / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.3332, allocations: 11.94 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3332, allocations: 4 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008903/0.3341, allocations: 0.6981 MB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.3352, allocations: 0.5816 MB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.3357, allocations: 286.6 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3359, allocations: 109.3 kB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/0.3359, allocations: 20.27 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.3363, allocations: 226.8 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.3363, allocations: 0 / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0007138/0.337, allocations: 385.5 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.3371, allocations: 132.5 kB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.3375, allocations: 325.1 kB / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.3375, allocations: 37.7 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3376, allocations: 132.7 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3377, allocations: 122.9 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3378, allocations: 69.55 kB / 1.373 GB, free: 4.297 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.338, allocations: 338.8 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3381, allocations: 83.95 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.3384, allocations: 196.5 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.3387, allocations: 222.2 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3387, allocations: 0 / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004799/0.3392, allocations: 277.3 kB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.3392, allocations: 11.94 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3392, allocations: 4 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3393, allocations: 0 / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3395, allocations: 67.89 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3395, allocations: 4 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.3396, allocations: 27.83 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.3397, allocations: 12 kB / 1.374 GB, free: 3.031 MB / 1.061 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.0001809/0.3398, allocations: 162.8 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.3399, allocations: 35.75 kB / 1.374 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.3406, allocations: 381 kB / 1.374 GB, free: 2.449 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3406, allocations: 4 kB / 1.374 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3406, allocations: 11.86 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3406, allocations: 4 kB / 1.374 GB, free: 2.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.341, allocations: 284.5 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.341, allocations: 3.938 kB / 1.375 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.3411, allocations: 55.97 kB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.3411, allocations: 7.938 kB / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.3412, allocations: 15.98 kB / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3412, allocations: 3.938 kB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3412, allocations: 3.984 kB / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.3417, allocations: 330.2 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.3418, allocations: 71.69 kB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.3419, allocations: 11.94 kB / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3421, allocations: 23.97 kB / 1.375 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.3421, allocations: 27.95 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.3421, allocations: 16 kB / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002408/0.3424, allocations: 244.4 kB / 1.376 GB, free: 1.289 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3424, allocations: 0 / 1.376 GB, free: 1.289 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003251/0.3427, allocations: 83.86 kB / 1.376 GB, free: 1.207 MB / 1.061 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.002385/0.3451, allocations: 1.25 MB / 1.377 GB, free: 120 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.3455, allocations: 223.7 kB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3455, allocations: 0 / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3457, allocations: 123.8 kB / 1.377 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.346, allocations: 36.42 kB / 1.377 GB, free: 15.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.3492, allocations: 2.565 MB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.3494, allocations: 150.9 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003471/0.3497, allocations: 142.9 kB / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3499, allocations: 107.4 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.3499, allocations: 7.938 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.3881, allocations: 7.199 MB / 1.387 GB, free: 5.559 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.75, allocations: 9.141 kB / 1.387 GB, free: 5.555 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/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: 18.72884307987988]