Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 113.5 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 192.6 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.19 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 151.7 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007785/0.3275, allocations: 5.178 MB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7331/1.061, allocations: 150.7 MB / 1.171 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/1.062, allocations: 19.62 kB / 1.171 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006938/1.062, allocations: 203 kB / 1.171 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/1.064, allocations: 0.5765 MB / 1.172 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/1.067, allocations: 0.8585 MB / 1.173 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001745/1.068, allocations: 1.457 MB / 1.174 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009937/1.069, allocations: 0.6608 MB / 1.175 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008764/1.07, allocations: 0.5104 MB / 1.175 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006849/1.071, allocations: 0.5462 MB / 1.176 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/1.071, allocations: 129.6 kB / 1.176 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/1.072, allocations: 0.5019 MB / 1.176 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/1.072, allocations: 315.5 kB / 1.177 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005987/1.073, allocations: 0.6037 MB / 1.177 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/1.075, allocations: 1.756 MB / 1.179 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/1.075, allocations: 1.25 kB / 1.179 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.056e-06/1.075, allocations: 0 / 1.179 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.298e-05/1.076, allocations: 0 / 1.179 GB, free: 11.33 MB / 0.8887 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.00311/1.079, allocations: 1.509 MB / 1.18 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.079, allocations: 8.688 kB / 1.18 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.08, allocations: 214.4 kB / 1.181 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.081, allocations: 0.782 MB / 1.181 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/1.081, allocations: 72.94 kB / 1.181 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.081, allocations: 88.41 kB / 1.182 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.083, allocations: 1.012 MB / 1.183 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.083, allocations: 0 / 1.183 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.921e-05/1.083, allocations: 49.8 kB / 1.183 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/1.083, allocations: 23.59 kB / 1.183 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/1.085, allocations: 1.17 MB / 1.184 GB, free: 8.109 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004691/1.09, allocations: 2.937 MB / 1.187 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/1.092, allocations: 0.9151 MB / 1.188 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/1.092, allocations: 319.8 kB / 1.188 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/1.093, allocations: 473.6 kB / 1.188 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008874/1.094, allocations: 0.4983 MB / 1.189 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/1.094, allocations: 1.375 kB / 1.189 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003339/1.097, allocations: 1.238 MB / 1.19 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.097, allocations: 202.1 kB / 1.19 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/1.098, allocations: 0.6383 MB / 1.191 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/1.098, allocations: 42.98 kB / 1.191 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/1.099, allocations: 425.1 kB / 1.191 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/1.099, allocations: 266.3 kB / 1.191 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/1.099, allocations: 162.6 kB / 1.192 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.099, allocations: 394.7 kB / 1.192 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/1.1, allocations: 276.3 kB / 1.192 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/1.1, allocations: 371.3 kB / 1.193 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.101, allocations: 0.6324 MB / 1.193 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.101, allocations: 3.938 kB / 1.193 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001948/1.103, allocations: 0.8795 MB / 1.194 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.103, allocations: 8.938 kB / 1.194 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.103, allocations: 2.594 kB / 1.194 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/1.104, allocations: 83.61 kB / 1.194 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/1.105, allocations: 165 kB / 1.194 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.107, allocations: 1.632 MB / 1.196 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/1.108, allocations: 94.53 kB / 1.196 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/1.108, allocations: 42.88 kB / 1.196 GB, free: 14.94 MB / 0.9044 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.0004988/1.108, allocations: 272 kB / 1.196 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.108, allocations: 83.91 kB / 1.196 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.111, allocations: 1.104 MB / 1.198 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/1.111, allocations: 7.875 kB / 1.198 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.111, allocations: 0 / 1.198 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.111, allocations: 6.516 kB / 1.198 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/1.114, allocations: 2.003 MB / 1.199 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.114, allocations: 2.156 kB / 1.199 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/1.115, allocations: 147.3 kB / 1.2 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/1.115, allocations: 76.41 kB / 1.2 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/1.115, allocations: 23.95 kB / 1.2 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/1.117, allocations: 1.659 MB / 1.201 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.117, allocations: 1.562 kB / 1.201 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/1.119, allocations: 1.021 MB / 1.202 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/1.12, allocations: 279.2 kB / 1.203 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.12, allocations: 27.81 kB / 1.203 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/1.121, allocations: 61.92 kB / 1.203 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.121, allocations: 76.2 kB / 1.203 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/1.121, allocations: 30.23 kB / 1.203 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005572/1.121, allocations: 466.5 kB / 1.203 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.121, allocations: 7.938 kB / 1.203 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009532/1.122, allocations: 353.9 kB / 1.204 GB, free: 9.73 MB / 0.9044 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.001383/1.124, allocations: 0.6115 MB / 1.204 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001748/1.125, allocations: 0.8651 MB / 1.205 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.125, allocations: 2.719 kB / 1.205 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/1.126, allocations: 0.5298 MB / 1.206 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.128, allocations: 298.7 kB / 1.206 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/1.131, allocations: 1.718 MB / 1.207 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/1.131, allocations: 1.043 MB / 1.209 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008367/1.132, allocations: 282.6 kB / 1.209 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/1.133, allocations: 111.3 kB / 1.209 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of SimCode: time 7.71e-07/1.133, allocations: 0 / 1.209 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of Templates: time 0.02723/1.16, allocations: 15.77 MB / 1.224 GB, free: 5.785 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches