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.001599/0.001599, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.00185, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.583/2.583, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 55.91 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6877/0.6892, allocations: 151.6 MB / 1.017 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006712/0.696, allocations: 5.179 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.8659, allocations: 150.7 MB / 1.169 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009644/0.8669, allocations: 15.94 kB / 1.17 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.8675, allocations: 202.1 kB / 1.17 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.8695, allocations: 0.5728 MB / 1.17 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.8716, allocations: 0.8605 MB / 1.171 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.8732, allocations: 1.452 MB / 1.173 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.8742, allocations: 0.6483 MB / 1.173 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007108/0.8749, allocations: 0.5139 MB / 1.174 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005633/0.8754, allocations: 0.5523 MB / 1.174 GB, free: 1.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.8756, allocations: 124 kB / 1.174 GB, free: 1.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009006/0.8765, allocations: 483.7 kB / 1.175 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.8768, allocations: 322.9 kB / 1.175 GB, free: 324 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.8773, allocations: 0.6063 MB / 1.176 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.879, allocations: 1.71 MB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.879, allocations: 0 / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.879, allocations: 4 kB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.879, allocations: 0 / 1.177 GB, free: 13.99 MB / 0.9356 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.002451/0.8815, allocations: 1.508 MB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.8815, allocations: 8.031 kB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.8827, allocations: 215.3 kB / 1.179 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.8839, allocations: 0.7577 MB / 1.18 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/0.884, allocations: 73.94 kB / 1.18 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.8841, allocations: 91.94 kB / 1.18 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.886, allocations: 1.012 MB / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.886, allocations: 0 / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.8861, allocations: 44 kB / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.8861, allocations: 28 kB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.8882, allocations: 1.175 MB / 1.182 GB, free: 8.941 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.004967/0.8932, allocations: 2.973 MB / 1.185 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.8949, allocations: 0.9173 MB / 1.186 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.8954, allocations: 314.6 kB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/0.8961, allocations: 474.2 kB / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009832/0.8971, allocations: 0.503 MB / 1.187 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.8971, allocations: 4 kB / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003358/0.9005, allocations: 1.233 MB / 1.188 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.9006, allocations: 196.5 kB / 1.189 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.9014, allocations: 0.641 MB / 1.189 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.9015, allocations: 41.7 kB / 1.189 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.9018, allocations: 424.2 kB / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.9021, allocations: 268.2 kB / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.9023, allocations: 170.5 kB / 1.19 GB, free: 464 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9025, allocations: 382.8 kB / 1.19 GB, free: 72 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.9031, allocations: 277.8 kB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.9037, allocations: 375.1 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.905, allocations: 0.6307 MB / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.905, allocations: 0 / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002023/0.907, allocations: 0.8798 MB / 1.193 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9071, allocations: 4 kB / 1.193 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.9071, allocations: 4 kB / 1.193 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.9077, allocations: 84.86 kB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.9084, allocations: 159.8 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.9107, allocations: 1.636 MB / 1.194 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007993/0.9115, allocations: 107.3 kB / 1.194 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.9116, allocations: 35.98 kB / 1.195 GB, free: 11.71 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.0005178/0.9121, allocations: 275.4 kB / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.9123, allocations: 82.97 kB / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.9146, allocations: 1.108 MB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.9147, allocations: 8 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.9147, allocations: 0 / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.9147, allocations: 3.984 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.9182, allocations: 2.001 MB / 1.198 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.9182, allocations: 4 kB / 1.198 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.9188, allocations: 151.8 kB / 1.198 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/0.9193, allocations: 76.77 kB / 1.198 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.9194, allocations: 23.98 kB / 1.198 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.9213, allocations: 1.658 MB / 1.2 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9213, allocations: 0 / 1.2 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.9235, allocations: 1.019 MB / 1.201 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.9239, allocations: 279.7 kB / 1.201 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.9241, allocations: 20 kB / 1.201 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007354/0.9248, allocations: 63.92 kB / 1.201 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.925, allocations: 76.89 kB / 1.201 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/0.9251, allocations: 39.92 kB / 1.201 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006116/0.9257, allocations: 459 kB / 1.202 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9257, allocations: 0 / 1.202 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001054/0.9268, allocations: 355.2 kB / 1.202 GB, free: 3.777 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.001624/0.9284, allocations: 0.6209 MB / 1.203 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.931, allocations: 1.073 MB / 1.204 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.9311, allocations: 0 / 1.204 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.932, allocations: 0.5275 MB / 1.204 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.9334, allocations: 305.4 kB / 1.204 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.9368, allocations: 1.742 MB / 1.206 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.9375, allocations: 1.041 MB / 1.207 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009082/0.9384, allocations: 266.8 kB / 1.207 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.9387, allocations: 107.3 kB / 1.208 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of SimCode: time 7.22e-07/0.9387, allocations: 0 / 1.208 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.02818/0.9669, allocations: 15.79 MB / 1.223 GB, free: 14.62 MB / 0.9825 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