Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.001399/0.001399, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00158/0.00158, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 8.008 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.406/3.406, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.002027/0.002027, allocations: 70.16 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3696, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006818/0.3764, allocations: 4.8 MB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.5606, allocations: 154.1 MB / 1.508 GB, free: 8.953 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.5617, allocations: 23.81 kB / 1.508 GB, free: 8.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.5624, allocations: 190.2 kB / 1.508 GB, free: 8.742 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.5642, allocations: 0.5429 MB / 1.509 GB, free: 8.199 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.5664, allocations: 0.9082 MB / 1.51 GB, free: 7.297 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001612/0.568, allocations: 1.409 MB / 1.511 GB, free: 5.883 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.5687, allocations: 381.9 kB / 1.511 GB, free: 5.488 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007131/0.5694, allocations: 498.4 kB / 1.512 GB, free: 5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.57, allocations: 0.4978 MB / 1.512 GB, free: 4.5 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.5702, allocations: 116 kB / 1.512 GB, free: 4.387 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.5718, allocations: 0.9207 MB / 1.513 GB, free: 3.465 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.5721, allocations: 291 kB / 1.514 GB, free: 3.18 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.5726, allocations: 0.544 MB / 1.514 GB, free: 2.633 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.5751, allocations: 1.86 MB / 1.516 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5751, allocations: 0 / 1.516 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5751, allocations: 0 / 1.516 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.5751, allocations: 0 / 1.516 GB, free: 0.7656 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002699/0.5778, allocations: 1.462 MB / 1.517 GB, free: 15.27 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5779, allocations: 8.031 kB / 1.517 GB, free: 15.26 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.578, allocations: 126.8 kB / 1.518 GB, free: 15.13 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.5797, allocations: 264 kB / 1.518 GB, free: 14.87 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.581, allocations: 0.718 MB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/0.5811, allocations: 61.98 kB / 1.519 GB, free: 14.07 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5812, allocations: 72 kB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.5828, allocations: 0.8997 MB / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5828, allocations: 0 / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.5829, allocations: 35.94 kB / 1.52 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5829, allocations: 20 kB / 1.52 GB, free: 13 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.5849, allocations: 1.128 MB / 1.521 GB, free: 11.87 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.5892, allocations: 2.547 MB / 1.523 GB, free: 9.223 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.5908, allocations: 0.7882 MB / 1.524 GB, free: 8.426 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.5914, allocations: 302.7 kB / 1.524 GB, free: 8.129 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.968e-05/0.5915, allocations: 40.48 kB / 1.524 GB, free: 8.086 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.5925, allocations: 0.5327 MB / 1.525 GB, free: 7.539 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/0.5925, allocations: 0 / 1.525 GB, free: 7.539 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003554/0.5961, allocations: 1.22 MB / 1.526 GB, free: 6.309 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.5962, allocations: 196.6 kB / 1.526 GB, free: 6.074 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009049/0.5971, allocations: 0.6686 MB / 1.527 GB, free: 5.402 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.5972, allocations: 41.7 kB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.5975, allocations: 393.1 kB / 1.527 GB, free: 4.965 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.5978, allocations: 281.6 kB / 1.527 GB, free: 4.688 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.598, allocations: 154.6 kB / 1.528 GB, free: 4.531 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.5982, allocations: 394.7 kB / 1.528 GB, free: 4.137 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.5989, allocations: 273.8 kB / 1.528 GB, free: 3.871 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007734/0.5996, allocations: 403.4 kB / 1.529 GB, free: 3.445 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.601, allocations: 0.6393 MB / 1.529 GB, free: 2.793 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.601, allocations: 0 / 1.529 GB, free: 2.793 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002232/0.6033, allocations: 0.8803 MB / 1.53 GB, free: 1.902 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6033, allocations: 4 kB / 1.53 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6033, allocations: 4 kB / 1.53 GB, free: 1.895 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.6039, allocations: 88.83 kB / 1.53 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.6046, allocations: 163.8 kB / 1.53 GB, free: 1.645 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.6071, allocations: 1.545 MB / 1.532 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007515/0.6078, allocations: 103.5 kB / 1.532 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.6079, allocations: 31.97 kB / 1.532 GB, free: 15.85 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005256/0.6084, allocations: 268 kB / 1.532 GB, free: 15.58 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.6086, allocations: 91.44 kB / 1.532 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.6115, allocations: 1.207 MB / 1.534 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.6115, allocations: 11.94 kB / 1.534 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.6115, allocations: 0 / 1.534 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6115, allocations: 7.922 kB / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.6127, allocations: 0.8987 MB / 1.534 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6127, allocations: 0 / 1.534 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.6133, allocations: 167.7 kB / 1.535 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.6137, allocations: 72.78 kB / 1.535 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.6138, allocations: 27.97 kB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.6158, allocations: 1.574 MB / 1.536 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6158, allocations: 0 / 1.536 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.618, allocations: 1.01 MB / 1.537 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.6185, allocations: 215.1 kB / 1.537 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.6186, allocations: 24 kB / 1.537 GB, free: 10.08 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.6192, allocations: 63.92 kB / 1.538 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.6194, allocations: 84.84 kB / 1.538 GB, free: 9.938 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.6195, allocations: 39.97 kB / 1.538 GB, free: 9.898 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006439/0.6201, allocations: 487 kB / 1.538 GB, free: 9.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6201, allocations: 0 / 1.538 GB, free: 9.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008867/0.621, allocations: 343 kB / 1.538 GB, free: 9.094 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004457/0.6255, allocations: 2.086 MB / 1.54 GB, free: 7.152 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.6275, allocations: 0.8353 MB / 1.541 GB, free: 6.309 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.6275, allocations: 4 kB / 1.541 GB, free: 6.305 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.6286, allocations: 0.5275 MB / 1.542 GB, free: 5.762 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6298, allocations: 301.2 kB / 1.542 GB, free: 5.484 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.6415, allocations: 6.494 MB / 1.548 GB, free: 14.82 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.6422, allocations: 1.02 MB / 1.549 GB, free: 13.77 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009424/0.6432, allocations: 283 kB / 1.55 GB, free: 13.49 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.6438, allocations: 399.2 kB / 1.55 GB, free: 13.1 MB / 1.248 GB Notification: Performance of SimCode: time 1.072e-06/0.6438, allocations: 0 / 1.55 GB, free: 13.1 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06487/0.7087, allocations: 23.53 MB / 1.573 GB, free: 5.773 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.53, allocations: 7.859 kB / 1.573 GB, free: 5.766 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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: 21.863711391999914]