Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") translateModel(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7587/0.7587, allocations: 143.8 MB / 159.1 MB, free: 6.531 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 178.3 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.7 MB / 450.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007872/0.0007873, allocations: 107.5 kB / 0.5211 GB, free: 1.613 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 279.9 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 13.44 kB / 0.6948 GB, free: 59.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.004338/0.1452, allocations: 3.783 MB / 0.779 GB, free: 10.56 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.1513, allocations: 5.285 MB / 0.7842 GB, free: 4.836 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.1518, allocations: 4 kB / 0.7842 GB, free: 4.832 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1521, allocations: 87.27 kB / 0.7843 GB, free: 4.746 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1533, allocations: 402 kB / 0.7846 GB, free: 4.352 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1543, allocations: 0.4952 MB / 0.7851 GB, free: 3.855 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008836/0.1552, allocations: 0.9993 MB / 0.7861 GB, free: 2.852 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.1555, allocations: 218.3 kB / 0.7863 GB, free: 2.621 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.1559, allocations: 354.6 kB / 0.7866 GB, free: 2.273 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.1565, allocations: 434.1 kB / 0.7871 GB, free: 1.848 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.687e-05/0.1566, allocations: 40 kB / 0.7871 GB, free: 1.809 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.1574, allocations: 495.4 kB / 0.7876 GB, free: 1.324 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.1576, allocations: 187.2 kB / 0.7877 GB, free: 1.141 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.158, allocations: 415.5 kB / 0.7881 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1593, allocations: 1.277 MB / 0.7894 GB, free: 15.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1593, allocations: 0 / 0.7894 GB, free: 15.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1593, allocations: 0 / 0.7894 GB, free: 15.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1593, allocations: 0 / 0.7894 GB, free: 15.45 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002134/0.1615, allocations: 1.028 MB / 0.7904 GB, free: 14.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1615, allocations: 12.03 kB / 0.7904 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/0.1644, allocations: 0.6086 MB / 0.791 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.1657, allocations: 0.671 MB / 0.7917 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.166, allocations: 305.9 kB / 0.7919 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1661, allocations: 75.94 kB / 0.792 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.1679, allocations: 1.019 MB / 0.793 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.168, allocations: 0 / 0.793 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-05/0.1681, allocations: 32 kB / 0.793 GB, free: 11.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1681, allocations: 20 kB / 0.7931 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.1703, allocations: 1.042 MB / 0.7941 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004681/0.175, allocations: 2.963 MB / 0.797 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.178, allocations: 1.393 MB / 0.7983 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009051/0.1789, allocations: 447.6 kB / 0.7988 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002518/0.1814, allocations: 2.604 MB / 0.8013 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.1825, allocations: 0.5437 MB / 0.8018 GB, free: 1.789 MB / 474.7 MB Notification: Performance of pre-optimization done (n=88): time 2.805e-06/0.1826, allocations: 0 / 0.8018 GB, free: 1.789 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.00297/0.1855, allocations: 1.308 MB / 0.8031 GB, free: 488 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1856, allocations: 115.8 kB / 0.8032 GB, free: 348 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006905/0.1863, allocations: 0.5105 MB / 0.8037 GB, free: 15.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.1864, allocations: 41.7 kB / 0.8038 GB, free: 15.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1867, allocations: 324.2 kB / 0.8041 GB, free: 15.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.1869, allocations: 303.5 kB / 0.8044 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.187, allocations: 16 kB / 0.8044 GB, free: 15.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1872, allocations: 386.7 kB / 0.8047 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/0.1881, allocations: 389.7 kB / 0.8051 GB, free: 14.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/0.189, allocations: 0.5317 MB / 0.8056 GB, free: 13.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.191, allocations: 0.9175 MB / 0.8065 GB, free: 12.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.191, allocations: 4 kB / 0.8065 GB, free: 12.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002388/0.1934, allocations: 1.094 MB / 0.8076 GB, free: 11.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1934, allocations: 4 kB / 0.8076 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.1935, allocations: 7.984 kB / 0.8076 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1935, allocations: 8.281 kB / 0.8076 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.1947, allocations: 251.6 kB / 0.8079 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.1947, allocations: 8 kB / 0.8079 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.1955, allocations: 130.9 kB / 0.808 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.1956, allocations: 51.95 kB / 0.808 GB, free: 11.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weaDat.weatherData.conTim.tNext,weaDat.weatherData.conTim.tNext,radEast.outsidePolarCircle,radSouth.outsidePolarCircle,radWest.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 114 * 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.0003657/0.196, allocations: 223.5 kB / 0.8083 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1961, allocations: 75 kB / 0.8083 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.1993, allocations: 1.4 MB / 0.8097 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1994, allocations: 15.94 kB / 0.8097 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1994, allocations: 0 / 0.8097 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.1994, allocations: 11.91 kB / 0.8097 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.2031, allocations: 2.207 MB / 0.8119 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2031, allocations: 0 / 0.8119 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.2042, allocations: 239.7 kB / 0.8121 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.2042, allocations: 4 kB / 0.8121 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.2043, allocations: 39.91 kB / 0.8121 GB, free: 6.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.2043, allocations: 8 kB / 0.8122 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2043, allocations: 0 / 0.8122 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.2066, allocations: 1.214 MB / 0.8133 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.2069, allocations: 271.8 kB / 0.8136 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.2071, allocations: 27.94 kB / 0.8136 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.2078, allocations: 63.84 kB / 0.8137 GB, free: 5.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.208, allocations: 76.89 kB / 0.8138 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.24e-05/0.2081, allocations: 39.98 kB / 0.8138 GB, free: 5.262 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004026/0.2085, allocations: 354.8 kB / 0.8141 GB, free: 4.918 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2085, allocations: 4 kB / 0.8141 GB, free: 4.914 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008947/0.2094, allocations: 299.6 kB / 0.8144 GB, free: 4.621 MB / 490.7 MB 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,weaDat.weatherData.conTim.tNext) * Number of discrete states: 1 (weaDat.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 123 * 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.001162/0.2106, allocations: 0.5782 MB / 0.815 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.2128, allocations: 1.009 MB / 0.816 GB, free: 3.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2128, allocations: 4 kB / 0.816 GB, free: 3.156 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.2139, allocations: 0.5719 MB / 0.8165 GB, free: 2.582 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.2146, allocations: 121.1 kB / 0.8167 GB, free: 2.465 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.2177, allocations: 1.95 MB / 0.8186 GB, free: 500 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.2184, allocations: 0.9586 MB / 0.8195 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001091/0.2195, allocations: 221.9 kB / 0.8197 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.2199, allocations: 115.3 kB / 0.8198 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.183e-06/0.2199, allocations: 0 / 0.8198 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.02101/0.2409, allocations: 11.51 MB / 0.8311 GB, free: 3.684 MB / 0.4948 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1)