Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 114.3 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 489.2 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003186/0.003186, allocations: 63.91 kB / 1.103 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.016, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006249/1.022, allocations: 5.175 MB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1976/1.22, allocations: 150.7 MB / 1.415 GB, free: 4.555 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/1.221, allocations: 20.41 kB / 1.415 GB, free: 4.547 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/1.222, allocations: 200.6 kB / 1.415 GB, free: 4.371 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002746/1.225, allocations: 0.5606 MB / 1.416 GB, free: 3.949 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/1.228, allocations: 0.871 MB / 1.416 GB, free: 3.289 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002495/1.231, allocations: 1.454 MB / 1.418 GB, free: 2.387 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/1.232, allocations: 0.6663 MB / 1.418 GB, free: 1.973 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/1.233, allocations: 0.5153 MB / 1.419 GB, free: 1.66 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/1.234, allocations: 0.5386 MB / 1.419 GB, free: 1.277 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003939/1.234, allocations: 124.8 kB / 1.42 GB, free: 1.277 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/1.236, allocations: 0.5076 MB / 1.42 GB, free: 1.082 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000522/1.237, allocations: 320.6 kB / 1.42 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/1.238, allocations: 0.6048 MB / 1.421 GB, free: 396 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/1.241, allocations: 1.767 MB / 1.423 GB, free: 15.11 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.241, allocations: 0 / 1.423 GB, free: 15.11 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.154e-06/1.241, allocations: 5.469 kB / 1.423 GB, free: 15.11 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.812e-05/1.241, allocations: 0 / 1.423 GB, free: 15.11 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003834/1.245, allocations: 1.544 MB / 1.424 GB, free: 13.89 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.245, allocations: 9.656 kB / 1.424 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.247, allocations: 221.9 kB / 1.424 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.248, allocations: 0.7857 MB / 1.425 GB, free: 13.13 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/1.248, allocations: 77.36 kB / 1.425 GB, free: 13.1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/1.249, allocations: 92.59 kB / 1.425 GB, free: 13.07 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.251, allocations: 1.013 MB / 1.426 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.251, allocations: 0 / 1.426 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.251, allocations: 42.28 kB / 1.426 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/1.251, allocations: 23.22 kB / 1.426 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/1.253, allocations: 1.178 MB / 1.428 GB, free: 11.83 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00561/1.259, allocations: 3.045 MB / 1.431 GB, free: 9.336 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/1.261, allocations: 0.921 MB / 1.431 GB, free: 8.812 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/1.261, allocations: 311.5 kB / 1.432 GB, free: 8.66 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/1.262, allocations: 477.6 kB / 1.432 GB, free: 8.145 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009662/1.263, allocations: 0.5007 MB / 1.433 GB, free: 7.82 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 3.887e-06/1.263, allocations: 4 kB / 1.433 GB, free: 7.816 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003645/1.267, allocations: 1.239 MB / 1.434 GB, free: 7.145 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.267, allocations: 193.9 kB / 1.434 GB, free: 6.922 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.268, allocations: 0.6429 MB / 1.435 GB, free: 6.547 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.268, allocations: 43.2 kB / 1.435 GB, free: 6.504 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/1.269, allocations: 432.5 kB / 1.435 GB, free: 6.125 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.269, allocations: 275.5 kB / 1.435 GB, free: 5.887 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/1.269, allocations: 172.2 kB / 1.436 GB, free: 5.777 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002459/1.27, allocations: 389.6 kB / 1.436 GB, free: 5.406 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/1.27, allocations: 276.7 kB / 1.436 GB, free: 5.273 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007822/1.271, allocations: 374.1 kB / 1.437 GB, free: 5.062 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.272, allocations: 0.6267 MB / 1.437 GB, free: 4.723 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.272, allocations: 4 kB / 1.437 GB, free: 4.719 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002381/1.275, allocations: 0.891 MB / 1.438 GB, free: 3.871 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.275, allocations: 4 kB / 1.438 GB, free: 3.867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.275, allocations: 4 kB / 1.438 GB, free: 3.863 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/1.276, allocations: 84.81 kB / 1.438 GB, free: 3.777 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/1.276, allocations: 159.8 kB / 1.438 GB, free: 3.621 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/1.279, allocations: 1.634 MB / 1.44 GB, free: 1.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.28, allocations: 99.55 kB / 1.44 GB, free: 1.742 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.28, allocations: 35.97 kB / 1.44 GB, free: 1.707 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (96): * Single equations (assignments): 95 * 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.0006552/1.281, allocations: 275.4 kB / 1.44 GB, free: 1.426 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/1.281, allocations: 87.44 kB / 1.44 GB, free: 1.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/1.284, allocations: 1.097 MB / 1.441 GB, free: 228 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.284, allocations: 8 kB / 1.441 GB, free: 220 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.284, allocations: 4 kB / 1.441 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.284, allocations: 3.984 kB / 1.441 GB, free: 212 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/1.288, allocations: 2.009 MB / 1.443 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/1.288, allocations: 3.984 kB / 1.443 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/1.289, allocations: 147.8 kB / 1.444 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/1.289, allocations: 76.78 kB / 1.444 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/1.289, allocations: 23.98 kB / 1.444 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/1.292, allocations: 1.658 MB / 1.445 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.292, allocations: 0 / 1.445 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/1.294, allocations: 1.03 MB / 1.446 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/1.295, allocations: 280.2 kB / 1.447 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.295, allocations: 16 kB / 1.447 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/1.296, allocations: 63.92 kB / 1.447 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.296, allocations: 72.91 kB / 1.447 GB, free: 10.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.549e-05/1.296, allocations: 39.91 kB / 1.447 GB, free: 10.56 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007918/1.297, allocations: 467 kB / 1.447 GB, free: 10.11 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.297, allocations: 0 / 1.447 GB, free: 10.11 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001107/1.298, allocations: 366.9 kB / 1.448 GB, free: 9.746 MB / 1.139 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.002031/1.3, allocations: 0.6227 MB / 1.448 GB, free: 9.312 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001987/1.302, allocations: 0.8546 MB / 1.449 GB, free: 8.441 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.302, allocations: 0 / 1.449 GB, free: 8.441 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.303, allocations: 0.5354 MB / 1.45 GB, free: 7.898 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/1.305, allocations: 315.6 kB / 1.45 GB, free: 7.613 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/1.308, allocations: 1.79 MB / 1.452 GB, free: 5.793 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/1.309, allocations: 1.045 MB / 1.453 GB, free: 4.719 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/1.309, allocations: 123.4 kB / 1.453 GB, free: 4.598 MB / 1.139 GB Notification: Performance of SimCode: time 3.81e-07/1.309, allocations: 0 / 1.453 GB, free: 4.598 MB / 1.139 GB Notification: Performance of Templates: time 0.03111/1.34, allocations: 19.63 MB / 1.472 GB, free: 1.027 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,skyCle.skyCle Variables in the result:skyCle.skyCle,time [Calling sys.exit(0), Time elapsed: 14.861434072023258]