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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001635/0.001635, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.8685 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6786, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007177/0.6858, allocations: 5.188 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.8549, allocations: 148.4 MB / 1.167 GB, free: 8.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.8562, allocations: 15.94 kB / 1.167 GB, free: 8.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.8569, allocations: 162.8 kB / 1.167 GB, free: 8.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.8587, allocations: 493.3 kB / 1.167 GB, free: 8.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.8605, allocations: 0.7441 MB / 1.168 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.862, allocations: 1.362 MB / 1.169 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008442/0.8629, allocations: 0.6359 MB / 1.17 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.8635, allocations: 458.1 kB / 1.17 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.864, allocations: 0.5111 MB / 1.171 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.8642, allocations: 64 kB / 1.171 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.865, allocations: 431.6 kB / 1.171 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.8653, allocations: 258.9 kB / 1.172 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.8657, allocations: 0.5555 MB / 1.172 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.8672, allocations: 1.659 MB / 1.174 GB, free: 1.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8673, allocations: 0 / 1.174 GB, free: 1.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.42e-07/0.8673, allocations: 0 / 1.174 GB, free: 1.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.8673, allocations: 0 / 1.174 GB, free: 1.324 MB / 0.92 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.002667/0.87, allocations: 1.504 MB / 1.175 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.87, allocations: 8.031 kB / 1.175 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.8711, allocations: 215.3 kB / 1.175 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.8721, allocations: 0.7615 MB / 1.176 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.8722, allocations: 74 kB / 1.176 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.8723, allocations: 92 kB / 1.176 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.874, allocations: 1.016 MB / 1.177 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.874, allocations: 0 / 1.177 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.8741, allocations: 44 kB / 1.177 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.8741, allocations: 20 kB / 1.177 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.876, allocations: 1.179 MB / 1.179 GB, free: 12.29 MB / 0.9356 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.004101/0.8801, allocations: 2.961 MB / 1.181 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.8817, allocations: 0.9156 MB / 1.182 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.8823, allocations: 326.6 kB / 1.183 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.8829, allocations: 470.1 kB / 1.183 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009419/0.8839, allocations: 0.5108 MB / 1.184 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.094e-06/0.8839, allocations: 0 / 1.184 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003171/0.8871, allocations: 1.229 MB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.8872, allocations: 188.6 kB / 1.185 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.888, allocations: 0.6488 MB / 1.186 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.888, allocations: 41.7 kB / 1.186 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.8883, allocations: 428.2 kB / 1.186 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.8885, allocations: 264.1 kB / 1.186 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.8888, allocations: 174.4 kB / 1.186 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.889, allocations: 386.8 kB / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.8895, allocations: 273.8 kB / 1.187 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.8902, allocations: 375.1 kB / 1.187 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.8913, allocations: 0.6268 MB / 1.188 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8913, allocations: 0 / 1.188 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001978/0.8933, allocations: 0.8761 MB / 1.189 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8933, allocations: 8 kB / 1.189 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.8934, allocations: 0 / 1.189 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.894, allocations: 84.81 kB / 1.189 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.8947, allocations: 171.8 kB / 1.189 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.8968, allocations: 1.523 MB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.8976, allocations: 99.38 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.8977, allocations: 35.98 kB / 1.191 GB, free: 15.18 MB / 0.9512 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.0004114/0.8981, allocations: 279.3 kB / 1.191 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.8983, allocations: 82.97 kB / 1.191 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.9007, allocations: 1.105 MB / 1.192 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.9007, allocations: 15.94 kB / 1.192 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.9007, allocations: 0 / 1.192 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.9007, allocations: 3.984 kB / 1.192 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.9041, allocations: 1.997 MB / 1.194 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.9041, allocations: 12 kB / 1.194 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.9047, allocations: 147.8 kB / 1.194 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/0.9052, allocations: 84.77 kB / 1.194 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.9053, allocations: 23.98 kB / 1.194 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.9071, allocations: 1.532 MB / 1.196 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9072, allocations: 3.938 kB / 1.196 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.9094, allocations: 1.027 MB / 1.197 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.9098, allocations: 279.6 kB / 1.197 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.9099, allocations: 23.98 kB / 1.197 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.9106, allocations: 71.92 kB / 1.197 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.9107, allocations: 72.84 kB / 1.197 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.9108, allocations: 35.97 kB / 1.197 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005583/0.9114, allocations: 463 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9114, allocations: 0 / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009682/0.9124, allocations: 355.1 kB / 1.198 GB, free: 7.34 MB / 0.9512 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.00148/0.9139, allocations: 0.6297 MB / 1.199 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.9156, allocations: 0.8546 MB / 1.2 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9156, allocations: 4.188 kB / 1.2 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.9166, allocations: 0.5198 MB / 1.2 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.9178, allocations: 284.2 kB / 1.2 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.921, allocations: 2.179 MB / 1.203 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.9216, allocations: 1.051 MB / 1.204 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009692/0.9226, allocations: 270.7 kB / 1.204 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.9229, allocations: 111.4 kB / 1.204 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of SimCode: time 8.82e-07/0.9229, allocations: 0 / 1.204 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of Templates: time 0.02696/0.9499, allocations: 15.12 MB / 1.219 GB, free: 2.605 MB / 0.9669 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 -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/jenkins/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