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.001682/0.001682, allocations: 113 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.002078/0.002078, allocations: 209 kB / 22.25 MB, free: 5.086 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.624/1.624, allocations: 230.6 MB / 256 MB, free: 8.012 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.385/3.385, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.002954/0.002954, allocations: 66.69 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4244, 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.007221/0.4316, allocations: 4.794 MB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.188/0.6196, allocations: 154.1 MB / 1.508 GB, free: 8.961 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009992/0.6206, allocations: 31.75 kB / 1.508 GB, free: 8.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.6215, allocations: 190.3 kB / 1.508 GB, free: 8.742 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.6237, allocations: 0.5438 MB / 1.509 GB, free: 8.199 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.6263, allocations: 0.9033 MB / 1.51 GB, free: 7.301 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.6284, allocations: 1.409 MB / 1.511 GB, free: 5.887 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009241/0.6293, allocations: 380.5 kB / 1.511 GB, free: 5.492 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.6303, allocations: 0.4906 MB / 1.512 GB, free: 5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000926/0.6313, allocations: 0.4995 MB / 1.512 GB, free: 4.5 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.6316, allocations: 112 kB / 1.512 GB, free: 4.391 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.6336, allocations: 0.9207 MB / 1.513 GB, free: 3.469 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000465/0.6341, allocations: 299 kB / 1.514 GB, free: 3.176 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008412/0.6349, allocations: 0.5402 MB / 1.514 GB, free: 2.633 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.6381, allocations: 1.853 MB / 1.516 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6381, allocations: 0 / 1.516 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6381, allocations: 0 / 1.516 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.295e-05/0.6382, allocations: 4 kB / 1.516 GB, free: 0.7695 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.003565/0.6417, allocations: 1.462 MB / 1.517 GB, free: 15.27 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.6418, allocations: 12.03 kB / 1.517 GB, free: 15.26 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.642, allocations: 122.8 kB / 1.518 GB, free: 15.13 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.644, allocations: 264 kB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.6456, allocations: 0.7258 MB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.6457, allocations: 61.98 kB / 1.519 GB, free: 14.06 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.6458, allocations: 72 kB / 1.519 GB, free: 13.99 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.6478, allocations: 0.888 MB / 1.519 GB, free: 13.06 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.6478, allocations: 0 / 1.519 GB, free: 13.06 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.6479, allocations: 32 kB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.6479, allocations: 20 kB / 1.52 GB, free: 13.01 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.6502, allocations: 1.135 MB / 1.521 GB, free: 11.87 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.6552, allocations: 2.549 MB / 1.523 GB, free: 9.227 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.6571, allocations: 0.7843 MB / 1.524 GB, free: 8.434 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.6578, allocations: 314.7 kB / 1.524 GB, free: 8.125 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.6579, allocations: 32.55 kB / 1.524 GB, free: 8.09 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.6591, allocations: 0.5276 MB / 1.525 GB, free: 7.547 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 6.352e-06/0.6591, allocations: 4 kB / 1.525 GB, free: 7.543 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003849/0.6629, allocations: 1.224 MB / 1.526 GB, free: 6.309 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.6631, allocations: 192.6 kB / 1.526 GB, free: 6.078 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.6642, allocations: 0.6685 MB / 1.527 GB, free: 5.406 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.174e-05/0.6643, allocations: 41.7 kB / 1.527 GB, free: 5.359 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.6647, allocations: 393.1 kB / 1.527 GB, free: 4.969 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.665, allocations: 285.5 kB / 1.527 GB, free: 4.688 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.6653, allocations: 154.6 kB / 1.528 GB, free: 4.531 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.6655, allocations: 398.7 kB / 1.528 GB, free: 4.133 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.6662, allocations: 273.8 kB / 1.528 GB, free: 3.867 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.667, allocations: 399.4 kB / 1.529 GB, free: 3.445 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.6685, allocations: 0.647 MB / 1.529 GB, free: 2.785 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6685, allocations: 0 / 1.529 GB, free: 2.785 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002422/0.671, allocations: 0.8764 MB / 1.53 GB, free: 1.898 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.671, allocations: 8 kB / 1.53 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.671, allocations: 0 / 1.53 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.6716, allocations: 84.89 kB / 1.53 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.6724, allocations: 163.8 kB / 1.53 GB, free: 1.645 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.6747, allocations: 1.543 MB / 1.532 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/0.6755, allocations: 99.41 kB / 1.532 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.6756, allocations: 35.91 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.000475/0.6761, allocations: 273.6 kB / 1.532 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.6763, allocations: 87.44 kB / 1.532 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.6793, allocations: 1.207 MB / 1.534 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6793, allocations: 8 kB / 1.534 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6793, allocations: 4 kB / 1.534 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.6793, allocations: 11.92 kB / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.6806, allocations: 0.8911 MB / 1.534 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6806, allocations: 0 / 1.534 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.6813, allocations: 159.8 kB / 1.535 GB, free: 13.15 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/0.6818, allocations: 76.78 kB / 1.535 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.6819, allocations: 27.97 kB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.684, allocations: 1.578 MB / 1.536 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.684, allocations: 0 / 1.536 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.6864, allocations: 1.006 MB / 1.537 GB, free: 10.32 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.6869, allocations: 215.1 kB / 1.537 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6871, allocations: 32 kB / 1.537 GB, free: 10.08 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007132/0.6878, allocations: 73.8 kB / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.688, allocations: 84.78 kB / 1.538 GB, free: 9.926 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.24e-05/0.6881, allocations: 35.97 kB / 1.538 GB, free: 9.891 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006972/0.6888, allocations: 491 kB / 1.538 GB, free: 9.418 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6888, allocations: 3.938 kB / 1.538 GB, free: 9.414 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009982/0.6898, allocations: 331.2 kB / 1.538 GB, free: 9.09 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.004961/0.6947, allocations: 2.08 MB / 1.54 GB, free: 7.152 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.6969, allocations: 0.839 MB / 1.541 GB, free: 6.305 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6969, allocations: 256 / 1.541 GB, free: 6.305 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.698, 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.00131/0.6993, allocations: 303.5 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.01299/0.7123, allocations: 6.495 MB / 1.548 GB, free: 14.82 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/0.7131, allocations: 1.024 MB / 1.549 GB, free: 13.77 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009668/0.7141, allocations: 275.1 kB / 1.55 GB, free: 13.5 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/0.7147, allocations: 399.2 kB / 1.55 GB, free: 13.11 MB / 1.248 GB Notification: Performance of SimCode: time 1.042e-06/0.7147, allocations: 0 / 1.55 GB, free: 13.11 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07326/0.788, allocations: 23.53 MB / 1.573 GB, free: 5.777 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.08, allocations: 3.859 kB / 1.573 GB, free: 5.773 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 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.mat","/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: 22.467663357965648]