Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7294/0.7294, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.0009363/0.0009363, allocations: 183.3 kB / 192 MB, free: 6.719 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.316/1.316, allocations: 225.7 MB / 450.4 MB, free: 4.992 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.0007316/0.0007318, allocations: 107.5 kB / 0.5211 GB, free: 1.656 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.001591/0.001591, allocations: 283.1 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 13.59 kB / 0.6948 GB, free: 59.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006062/0.1394, allocations: 5.212 MB / 0.7804 GB, free: 9.145 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4356/0.575, allocations: 141.4 MB / 0.9185 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.5759, allocations: 23.22 kB / 0.9185 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.5765, allocations: 180.5 kB / 0.9187 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.578, allocations: 0.5234 MB / 0.9192 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.5803, allocations: 1.136 MB / 0.9203 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.5824, allocations: 2.226 MB / 0.9225 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.5841, allocations: 1.501 MB / 0.9239 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5853, allocations: 0.6926 MB / 0.9246 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009257/0.5862, allocations: 0.8306 MB / 0.9254 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.5864, allocations: 57.34 kB / 0.9255 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.5874, allocations: 401.3 kB / 0.9259 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.5877, allocations: 366.9 kB / 0.9262 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007406/0.5885, allocations: 0.869 MB / 0.9271 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.5912, allocations: 2.958 MB / 0.9299 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5912, allocations: 0 / 0.9299 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.088e-06/0.5912, allocations: 0 / 0.9299 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.799e-05/0.5913, allocations: 0 / 0.9299 GB, free: 10.71 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004441/0.5957, allocations: 2.098 MB / 0.932 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.5958, allocations: 9.562 kB / 0.932 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.61, allocations: 2.284 MB / 0.9342 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.6123, allocations: 1.196 MB / 0.9354 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.6125, allocations: 164.4 kB / 0.9356 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/0.6128, allocations: 214.5 kB / 0.9358 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007999/0.6208, allocations: 3.21 MB / 0.9389 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.6209, allocations: 0 / 0.9389 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.6211, allocations: 88.22 kB / 0.939 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.6212, allocations: 51.53 kB / 0.939 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.6323, allocations: 4.225 MB / 0.9432 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.6458, allocations: 7.049 MB / 0.95 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00716/0.653, allocations: 2.699 MB / 0.9527 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/0.6567, allocations: 1.44 MB / 0.9541 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006875/0.6574, allocations: 0.5046 MB / 0.9546 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004144/0.6615, allocations: 1.704 MB / 0.9562 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=195): time 4.227e-06/0.6616, allocations: 0 / 0.9562 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of matching and sorting (n=195): time 0.01235/0.6739, allocations: 4.219 MB / 0.9604 GB, free: 15.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.674, allocations: 205.1 kB / 0.9606 GB, free: 15.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6751, allocations: 0.8533 MB / 0.9614 GB, free: 15.22 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.6753, allocations: 61.27 kB / 0.9614 GB, free: 15.19 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.6758, allocations: 0.7016 MB / 0.9621 GB, free: 14.77 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/0.6763, allocations: 0.6253 MB / 0.9627 GB, free: 14.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.6765, allocations: 35.47 kB / 0.9628 GB, free: 14.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6766, allocations: 374.9 kB / 0.9631 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/0.6801, allocations: 1.193 MB / 0.9643 GB, free: 13.73 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/0.6837, allocations: 1.372 MB / 0.9656 GB, free: 13.39 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006933/0.6907, allocations: 2.5 MB / 0.9681 GB, free: 12.95 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.6907, allocations: 3.938 kB / 0.9681 GB, free: 12.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008511/0.6992, allocations: 2.973 MB / 0.971 GB, free: 11.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.6993, allocations: 4 kB / 0.971 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.6993, allocations: 4 kB / 0.971 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.6998, allocations: 88.97 kB / 0.9711 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.7032, allocations: 0.5833 MB / 0.9717 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.7051, allocations: 1.526 MB / 0.9731 GB, free: 9.344 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.7079, allocations: 350.7 kB / 0.9735 GB, free: 9.027 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.7082, allocations: 95.89 kB / 0.9736 GB, free: 8.949 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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.0009264/0.7091, allocations: 401.6 kB / 0.9739 GB, free: 8.707 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.7094, allocations: 138.3 kB / 0.9741 GB, free: 8.57 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.7198, allocations: 3.508 MB / 0.9775 GB, free: 6.035 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/0.7199, allocations: 20 kB / 0.9775 GB, free: 6.016 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7199, allocations: 0 / 0.9775 GB, free: 6.016 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.7199, allocations: 7.969 kB / 0.9775 GB, free: 6.008 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.7325, allocations: 5.763 MB / 0.9832 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7325, allocations: 0 / 0.9832 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/0.7359, allocations: 0.5526 MB / 0.9837 GB, free: 1.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.7364, allocations: 91.59 kB / 0.9838 GB, free: 1.434 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/0.7366, allocations: 70.28 kB / 0.9839 GB, free: 1.391 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.7383, allocations: 1.558 MB / 0.9854 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7383, allocations: 0 / 0.9854 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008971/0.7473, allocations: 3.068 MB / 0.9884 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.7484, allocations: 0.5324 MB / 0.9889 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.7487, allocations: 36.25 kB / 0.9889 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/0.7511, allocations: 271.8 kB / 0.9892 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.7514, allocations: 122.6 kB / 0.9893 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/0.7517, allocations: 86.72 kB / 0.9894 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008481/0.7525, allocations: 0.6293 MB / 0.99 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7525, allocations: 0 / 0.99 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001614/0.7541, allocations: 0.5873 MB / 0.9906 GB, free: 11.74 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001446/0.7556, allocations: 0.73 MB / 0.9913 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0082/0.7638, allocations: 2.996 MB / 0.9942 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.7638, allocations: 4 kB / 0.9942 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004286/0.7681, allocations: 1.67 MB / 0.9958 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.7698, allocations: 321.1 kB / 0.9962 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009759/0.7796, allocations: 4.949 MB / 1.001 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.7806, allocations: 1.371 MB / 1.002 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00346/0.7841, allocations: 0.5468 MB / 1.003 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009069/0.785, allocations: 216.7 kB / 1.003 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.785, allocations: 0 / 1.003 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of Templates: time 0.04268/0.8277, allocations: 26.65 MB / 1.029 GB, free: 6.543 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)