Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001379/0.001379, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001462/0.001462, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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 2.914/2.914, allocations: 389 MB / 0.633 GB, free: 1.031 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.003e-05, allocations: 6.281 kB / 1 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008071/0.008101, allocations: 5.34 MB / 1.005 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.8881/0.8962, allocations: 133 MB / 1.135 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009503/0.8972, allocations: 32.72 kB / 1.135 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.8978, allocations: 240.9 kB / 1.135 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.8998, allocations: 0.6635 MB / 1.136 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.9019, allocations: 0.9154 MB / 1.137 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.9042, allocations: 1.746 MB / 1.139 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.9052, allocations: 0.5783 MB / 1.139 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.9069, allocations: 0.9653 MB / 1.14 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007633/0.9077, allocations: 0.5042 MB / 1.141 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.9079, allocations: 161.9 kB / 1.141 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.9092, allocations: 0.5337 MB / 1.141 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.9095, allocations: 388.7 kB / 1.142 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.9101, allocations: 0.5128 MB / 1.142 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.9131, allocations: 2.217 MB / 1.144 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9131, allocations: 0 / 1.144 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9131, allocations: 0 / 1.144 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.621e-05/0.9132, allocations: 5.781 kB / 1.144 GB, free: 11.18 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.003368/0.9165, allocations: 1.723 MB / 1.146 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9166, allocations: 9.344 kB / 1.146 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.9183, allocations: 275.7 kB / 1.146 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.9198, allocations: 0.8219 MB / 1.147 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.9199, allocations: 95.45 kB / 1.147 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.92, allocations: 126 kB / 1.147 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.9224, allocations: 1.48 MB / 1.149 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.9224, allocations: 1.688 kB / 1.149 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.9226, allocations: 50.64 kB / 1.149 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.9226, allocations: 28.75 kB / 1.149 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.9258, allocations: 1.249 MB / 1.15 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007544/0.9333, allocations: 2.774 MB / 1.153 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.9355, allocations: 0.8513 MB / 1.154 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008162/0.9363, allocations: 320.5 kB / 1.154 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.9365, allocations: 26.36 kB / 1.154 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.9378, allocations: 0.6384 MB / 1.155 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 5.36e-06/0.9378, allocations: 1 kB / 1.155 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.003666/0.9414, allocations: 1.245 MB / 1.156 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.9415, allocations: 201.4 kB / 1.156 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.9426, allocations: 0.6763 MB / 1.157 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.9427, allocations: 49.55 kB / 1.157 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.9431, allocations: 0.5342 MB / 1.157 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.9433, allocations: 321.6 kB / 1.158 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.9436, allocations: 191.5 kB / 1.158 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.9438, allocations: 394.8 kB / 1.158 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.9446, allocations: 317.4 kB / 1.158 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000972/0.9456, allocations: 0.5378 MB / 1.159 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.9476, allocations: 0.7015 MB / 1.16 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.9476, allocations: 0 / 1.16 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003856/0.9515, allocations: 0.9961 MB / 1.161 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.9515, allocations: 4.688 kB / 1.161 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9515, allocations: 1.406 kB / 1.161 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008958/0.9524, allocations: 89.56 kB / 1.161 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.9536, allocations: 182.5 kB / 1.161 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.956, allocations: 1.509 MB / 1.162 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.9573, allocations: 103.2 kB / 1.162 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.9575, allocations: 41.66 kB / 1.162 GB, free: 1.277 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.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 (117): * Single equations (assignments): 116 * 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.000833/0.9583, allocations: 302.8 kB / 1.163 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003938/0.9587, allocations: 104.1 kB / 1.163 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.9625, allocations: 1.15 MB / 1.164 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.9625, allocations: 10.47 kB / 1.164 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9625, allocations: 1.438 kB / 1.164 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.9625, allocations: 4.641 kB / 1.164 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006086/0.9686, allocations: 2.07 MB / 1.166 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.9686, allocations: 0 / 1.166 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.9696, allocations: 160.2 kB / 1.166 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005912/0.9702, allocations: 72.67 kB / 1.166 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.9703, allocations: 26.8 kB / 1.166 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.9731, allocations: 1.527 MB / 1.168 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9731, allocations: 0 / 1.168 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.9766, allocations: 1.09 MB / 1.169 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/0.9774, allocations: 207.9 kB / 1.169 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.9776, allocations: 30.72 kB / 1.169 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.9786, allocations: 65.06 kB / 1.169 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.9789, allocations: 80.06 kB / 1.169 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.979, allocations: 36.42 kB / 1.169 GB, free: 13.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009648/0.98, allocations: 481.1 kB / 1.17 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.98, allocations: 1.094 kB / 1.17 GB, free: 13.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001885/0.9818, allocations: 409.6 kB / 1.17 GB, free: 13.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00279/0.9846, allocations: 0.6629 MB / 1.171 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.9869, allocations: 0.899 MB / 1.172 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.9869, allocations: 1.062 kB / 1.172 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.9881, allocations: 0.5292 MB / 1.172 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.9898, allocations: 322.4 kB / 1.172 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.9939, allocations: 2.03 MB / 1.174 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.9944, allocations: 0.5298 MB / 1.175 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009285/0.9953, allocations: 273.7 kB / 1.175 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.9957, allocations: 111.7 kB / 1.175 GB, free: 10.86 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/0.9957, allocations: 1.469 kB / 1.175 GB, free: 10.86 MB / 1.014 GB Notification: Performance of Templates: time 0.02965/1.025, allocations: 16.33 MB / 1.191 GB, free: 4.586 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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: 10.132903575897217]