Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.0009451/0.0009451, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001566/0.001566, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 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 0.9174/0.9174, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.972e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006342/0.006372, allocations: 5.041 MB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1179/0.1242, allocations: 146.7 MB / 0.9352 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.125, allocations: 23.81 kB / 0.9352 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005726/0.1255, allocations: 214 kB / 0.9355 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.1271, allocations: 0.5939 MB / 0.936 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1288, allocations: 0.9036 MB / 0.9369 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1302, allocations: 1.541 MB / 0.9384 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.1308, allocations: 448.7 kB / 0.9388 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1319, allocations: 0.8419 MB / 0.9397 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005093/0.1324, allocations: 422.7 kB / 0.9401 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.1326, allocations: 120 kB / 0.9402 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000883/0.1335, allocations: 0.5149 MB / 0.9407 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.1337, allocations: 318.9 kB / 0.941 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.134, allocations: 418.9 kB / 0.9414 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.1355, allocations: 1.343 MB / 0.9427 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1355, allocations: 0 / 0.9427 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1355, allocations: 4 kB / 0.9427 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.633e-05/0.1356, allocations: 0 / 0.9427 GB, free: 12.59 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001779/0.1373, allocations: 1.597 MB / 0.9443 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1374, allocations: 8.031 kB / 0.9443 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1384, allocations: 383.4 kB / 0.9446 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.1392, allocations: 0.7344 MB / 0.9454 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.1393, allocations: 82.11 kB / 0.9454 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.1394, allocations: 103.9 kB / 0.9455 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1404, allocations: 1.018 MB / 0.9465 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1405, allocations: 0 / 0.9465 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.1405, allocations: 40 kB / 0.9466 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1405, allocations: 20 kB / 0.9466 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008786/0.1414, allocations: 0.8309 MB / 0.9474 GB, free: 7.609 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.144, allocations: 2.461 MB / 0.9498 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.1448, allocations: 0.5322 MB / 0.9503 GB, free: 4.555 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.1451, allocations: 201.4 kB / 0.9505 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.1453, allocations: 76.92 kB / 0.9506 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004967/0.1458, allocations: 0.5067 MB / 0.9511 GB, free: 3.73 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 3.166e-06/0.1458, allocations: 0 / 0.9511 GB, free: 3.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.001601/0.1474, allocations: 0.8822 MB / 0.9519 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.1475, allocations: 192.9 kB / 0.9521 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.148, allocations: 0.5854 MB / 0.9527 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.148, allocations: 49.7 kB / 0.9527 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.1483, allocations: 487.9 kB / 0.9532 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1484, allocations: 297.5 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1486, allocations: 192.2 kB / 0.9537 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1488, allocations: 0.5625 MB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.149, allocations: 149.9 kB / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.1494, allocations: 397.9 kB / 0.9548 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.1499, allocations: 415.1 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1499, allocations: 0 / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001041/0.1509, allocations: 0.6958 MB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.151, allocations: 8 kB / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.151, allocations: 0 / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.1514, allocations: 131.6 kB / 0.956 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.1518, allocations: 191.6 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1532, allocations: 1.901 MB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.1536, allocations: 83.48 kB / 0.9581 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.1536, allocations: 31.98 kB / 0.9581 GB, free: 12.22 MB / 0.9167 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 (109): * Single equations (assignments): 108 * 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.0002458/0.1539, allocations: 231.2 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.154, allocations: 111.4 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.1553, allocations: 0.8732 MB / 0.9593 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1553, allocations: 12 kB / 0.9593 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1553, allocations: 0 / 0.9593 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.1553, allocations: 3.984 kB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.1573, allocations: 1.686 MB / 0.961 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1573, allocations: 3.938 kB / 0.961 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.1576, allocations: 147.8 kB / 0.9611 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/0.158, allocations: 123.5 kB / 0.9612 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.158, allocations: 27.98 kB / 0.9612 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1591, allocations: 1.918 MB / 0.9631 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1591, allocations: 3.938 kB / 0.9631 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.1601, allocations: 0.9001 MB / 0.964 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.1603, allocations: 199 kB / 0.9642 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.1604, allocations: 24 kB / 0.9642 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1606, allocations: 41.53 kB / 0.9642 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.1607, allocations: 76.86 kB / 0.9643 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.1608, allocations: 40.03 kB / 0.9644 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002817/0.1611, allocations: 387 kB / 0.9647 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1611, allocations: 4 kB / 0.9647 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007339/0.1618, allocations: 371 kB / 0.9651 GB, free: 4.836 MB / 0.9167 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 (101): * Single equations (assignments): 90 * 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.001251/0.163, allocations: 0.6449 MB / 0.9657 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009065/0.164, allocations: 0.7032 MB / 0.9664 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.164, allocations: 0 / 0.9664 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.1644, allocations: 493 kB / 0.9669 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.1651, allocations: 325.8 kB / 0.9672 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1674, allocations: 1.619 MB / 0.9688 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.1675, allocations: 203 kB / 0.969 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004754/0.168, allocations: 282.6 kB / 0.9692 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.1682, allocations: 104.5 kB / 0.9693 GB, free: 0.5664 MB / 0.9167 GB Notification: Performance of SimCode: time 1.392e-06/0.1682, allocations: 0 / 0.9693 GB, free: 0.5664 MB / 0.9167 GB Notification: Performance of Templates: time 0.01956/0.1877, allocations: 17.09 MB / 0.986 GB, free: 15.78 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.510627510026097]