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.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.001317/0.001317, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001405/0.001405, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.876/2.876, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 71.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.9148, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00614/0.9209, allocations: 4.682 MB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1947/1.116, allocations: 132.8 MB / 1.321 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/1.117, allocations: 23.81 kB / 1.321 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008028/1.118, allocations: 210.1 kB / 1.321 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/1.121, allocations: 0.5903 MB / 1.322 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/1.123, allocations: 0.8892 MB / 1.323 GB, free: 10.74 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002065/1.125, allocations: 1.475 MB / 1.324 GB, free: 9.258 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008994/1.126, allocations: 452.6 kB / 1.324 GB, free: 8.789 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/1.127, allocations: 0.549 MB / 1.325 GB, free: 8.238 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/1.128, allocations: 0.4976 MB / 1.325 GB, free: 7.738 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/1.128, allocations: 128 kB / 1.326 GB, free: 7.613 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/1.129, allocations: 0.5074 MB / 1.326 GB, free: 7.105 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/1.13, allocations: 330.9 kB / 1.326 GB, free: 6.781 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005534/1.13, allocations: 0.4937 MB / 1.327 GB, free: 6.285 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/1.133, allocations: 1.813 MB / 1.329 GB, free: 4.469 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.133, allocations: 0 / 1.329 GB, free: 4.469 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.914e-06/1.133, allocations: 0 / 1.329 GB, free: 4.469 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.169e-05/1.133, allocations: 3.938 kB / 1.329 GB, free: 4.465 MB / 1.17 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.003096/1.136, allocations: 1.489 MB / 1.33 GB, free: 2.938 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.136, allocations: 12.03 kB / 1.33 GB, free: 2.926 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/1.148, allocations: 1.799 MB / 1.332 GB, free: 1.125 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.15, allocations: 0.761 MB / 1.333 GB, free: 348 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/1.15, allocations: 77.98 kB / 1.333 GB, free: 268 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.15, allocations: 92 kB / 1.333 GB, free: 176 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006646/1.157, allocations: 2.126 MB / 1.335 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/1.157, allocations: 3.938 kB / 1.335 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/1.157, allocations: 48 kB / 1.335 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/1.157, allocations: 24 kB / 1.335 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/1.168, allocations: 2.748 MB / 1.338 GB, free: 11.12 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/1.179, allocations: 4.535 MB / 1.342 GB, free: 5.91 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006162/1.185, allocations: 1.594 MB / 1.344 GB, free: 4.312 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00488/1.19, allocations: 1.096 MB / 1.345 GB, free: 3.211 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.466e-05/1.19, allocations: 32.56 kB / 1.345 GB, free: 3.18 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005533/1.196, allocations: 1.448 MB / 1.346 GB, free: 1.691 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/1.196, allocations: 0 / 1.346 GB, free: 1.691 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.01633/1.212, allocations: 3.476 MB / 1.349 GB, free: 14.2 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/1.212, allocations: 192.5 kB / 1.35 GB, free: 13.97 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/1.213, allocations: 0.5979 MB / 1.35 GB, free: 13.36 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/1.213, allocations: 41.7 kB / 1.35 GB, free: 13.32 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/1.214, allocations: 448.9 kB / 1.351 GB, free: 12.87 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/1.214, allocations: 273.7 kB / 1.351 GB, free: 12.6 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/1.214, allocations: 182.5 kB / 1.351 GB, free: 12.42 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.215, allocations: 382.8 kB / 1.351 GB, free: 12.04 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/1.22, allocations: 1.083 MB / 1.353 GB, free: 10.95 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00521/1.225, allocations: 1.3 MB / 1.354 GB, free: 9.609 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00916/1.234, allocations: 1.993 MB / 1.356 GB, free: 7.602 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.234, allocations: 4.062 kB / 1.356 GB, free: 7.598 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01071/1.245, allocations: 2.371 MB / 1.358 GB, free: 5.215 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/1.245, allocations: 7.938 kB / 1.358 GB, free: 5.207 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.245, allocations: 0 / 1.358 GB, free: 5.207 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/1.245, allocations: 88.86 kB / 1.358 GB, free: 5.117 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/1.248, allocations: 495.4 kB / 1.359 GB, free: 4.633 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/1.251, allocations: 1.499 MB / 1.36 GB, free: 3.027 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.253, allocations: 407.4 kB / 1.36 GB, free: 2.629 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.254, allocations: 39.97 kB / 1.361 GB, free: 2.59 MB / 1.201 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.0006017/1.254, allocations: 279.6 kB / 1.361 GB, free: 2.309 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/1.254, allocations: 79.48 kB / 1.361 GB, free: 2.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/1.265, allocations: 2.65 MB / 1.363 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.265, allocations: 11.94 kB / 1.363 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.265, allocations: 0 / 1.363 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.265, allocations: 7.984 kB / 1.363 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.279, allocations: 4.099 MB / 1.367 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.279, allocations: 0 / 1.367 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/1.281, allocations: 475.5 kB / 1.368 GB, free: 10.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/1.282, allocations: 80.72 kB / 1.368 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.282, allocations: 27.97 kB / 1.368 GB, free: 10.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/1.284, allocations: 1.524 MB / 1.37 GB, free: 8.887 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.284, allocations: 0 / 1.37 GB, free: 8.887 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.294, allocations: 2.521 MB / 1.372 GB, free: 6.344 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006687/1.295, allocations: 223.1 kB / 1.372 GB, free: 6.125 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.295, allocations: 20 kB / 1.372 GB, free: 6.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.298, allocations: 381.4 kB / 1.373 GB, free: 5.734 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/1.298, allocations: 80.78 kB / 1.373 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/1.298, allocations: 39.97 kB / 1.373 GB, free: 5.617 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000614/1.299, allocations: 439 kB / 1.373 GB, free: 5.195 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.299, allocations: 0 / 1.373 GB, free: 5.195 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001114/1.3, allocations: 390.9 kB / 1.373 GB, free: 4.812 MB / 1.217 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.002171/1.302, allocations: 0.6333 MB / 1.374 GB, free: 4.379 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.312, allocations: 2.443 MB / 1.376 GB, free: 1.922 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.312, allocations: 4 kB / 1.376 GB, free: 1.918 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005292/1.317, allocations: 1.316 MB / 1.378 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.319, allocations: 294.1 kB / 1.378 GB, free: 328 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/1.326, allocations: 2.578 MB / 1.381 GB, free: 13.71 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/1.327, allocations: 469.3 kB / 1.381 GB, free: 13.23 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001222/1.328, allocations: 310.5 kB / 1.381 GB, free: 12.92 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/1.329, allocations: 116.4 kB / 1.381 GB, free: 12.8 MB / 1.232 GB Notification: Performance of SimCode: time 8.61e-07/1.329, allocations: 0 / 1.381 GB, free: 12.8 MB / 1.232 GB Notification: Performance of Templates: time 0.03728/1.366, allocations: 18 MB / 1.399 GB, free: 11.07 MB / 1.248 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 -s ida -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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.128584516001865]