Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009847, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001319/0.001319, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.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.638/2.638, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.000358, allocations: 16 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6063/0.6067, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005009/0.6117, allocations: 4.196 MB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.7702, allocations: 136.8 MB / 1.16 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007729/0.771, allocations: 11.94 kB / 1.16 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.7715, allocations: 142.8 kB / 1.16 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.7728, allocations: 461.5 kB / 1.161 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7745, allocations: 0.618 MB / 1.161 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.7758, allocations: 1.191 MB / 1.162 GB, free: 228 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/0.7766, allocations: 447.5 kB / 1.163 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.7771, allocations: 338.5 kB / 1.163 GB, free: 15.44 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.7775, allocations: 362.2 kB / 1.164 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.591e-05/0.7776, allocations: 28 kB / 1.164 GB, free: 15.06 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006899/0.7783, allocations: 335.6 kB / 1.164 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.7785, allocations: 187.2 kB / 1.164 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.7787, allocations: 197.1 kB / 1.164 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.7799, allocations: 1.165 MB / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7799, allocations: 0 / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7799, allocations: 0 / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.7799, allocations: 0 / 1.165 GB, free: 13.18 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002203/0.7821, allocations: 1.237 MB / 1.167 GB, free: 11.89 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7822, allocations: 12.52 kB / 1.167 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.783, allocations: 198.5 kB / 1.167 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.7841, allocations: 0.7069 MB / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.7841, allocations: 62 kB / 1.168 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/0.7842, allocations: 80 kB / 1.168 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.7858, allocations: 0.9144 MB / 1.169 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.7858, allocations: 0 / 1.169 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.7859, allocations: 32 kB / 1.169 GB, free: 9.809 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.7859, allocations: 20 kB / 1.169 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.7877, allocations: 1.116 MB / 1.17 GB, free: 8.676 MB / 0.92 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.004018/0.7917, allocations: 2.738 MB / 1.172 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.7932, allocations: 0.798 MB / 1.173 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.7937, allocations: 294.7 kB / 1.173 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/0.7938, allocations: 32.67 kB / 1.173 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008793/0.7947, allocations: 499 kB / 1.174 GB, free: 4.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=80): time 2.815e-06/0.7947, allocations: 3.938 kB / 1.174 GB, free: 4.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=80): time 0.002996/0.7977, allocations: 1.202 MB / 1.175 GB, free: 2.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7978, allocations: 196.5 kB / 1.175 GB, free: 2.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/0.7986, allocations: 0.6292 MB / 1.176 GB, free: 2.086 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.7987, allocations: 41.7 kB / 1.176 GB, free: 2.039 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.799, allocations: 396.4 kB / 1.176 GB, free: 1.645 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.7992, allocations: 256.3 kB / 1.177 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.7993, allocations: 16 kB / 1.177 GB, free: 1.375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.7994, allocations: 390.7 kB / 1.177 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.8, allocations: 269.8 kB / 1.177 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.8006, allocations: 359.1 kB / 1.178 GB, free: 360 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.8011, allocations: 314.9 kB / 1.178 GB, free: 48 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.8012, allocations: 0 / 1.178 GB, free: 48 kB / 0.92 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001815/0.803, allocations: 0.8527 MB / 1.179 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.803, allocations: 13.92 kB / 1.179 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.803, allocations: 4 kB / 1.179 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.8036, allocations: 84.77 kB / 1.179 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.8043, allocations: 163.7 kB / 1.179 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.8063, allocations: 1.52 MB / 1.18 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.807, allocations: 108 kB / 1.181 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.8071, allocations: 35.97 kB / 1.181 GB, free: 13.13 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000459/0.8075, allocations: 271.4 kB / 1.181 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.8077, allocations: 86.92 kB / 1.181 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.81, allocations: 1.073 MB / 1.182 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.8101, allocations: 8 kB / 1.182 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.8101, allocations: 0 / 1.182 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.8101, allocations: 3.984 kB / 1.182 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.8111, allocations: 0.8841 MB / 1.183 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8111, allocations: 4.047 kB / 1.183 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.8117, allocations: 151.8 kB / 1.183 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.8122, allocations: 88.7 kB / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.8123, allocations: 19.98 kB / 1.183 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.8141, allocations: 1.544 MB / 1.185 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8141, allocations: 4.062 kB / 1.185 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.816, allocations: 0.9239 MB / 1.185 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.8164, allocations: 291.6 kB / 1.186 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.8166, allocations: 16 kB / 1.186 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.8172, allocations: 83.92 kB / 1.186 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.8173, allocations: 68.86 kB / 1.186 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.8174, allocations: 47.97 kB / 1.186 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005834/0.818, allocations: 455 kB / 1.186 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.818, allocations: 0 / 1.186 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008828/0.8189, allocations: 315.3 kB / 1.187 GB, free: 6.574 MB / 0.9356 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.8203, allocations: 0.6001 MB / 1.187 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.8221, allocations: 0.8353 MB / 1.188 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8221, allocations: 4 kB / 1.188 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.8231, allocations: 0.5158 MB / 1.189 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8243, allocations: 267.9 kB / 1.189 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.8277, allocations: 2.011 MB / 1.191 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.8284, allocations: 1.023 MB / 1.192 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008806/0.8293, allocations: 262.7 kB / 1.192 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.8296, allocations: 99.39 kB / 1.192 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of SimCode: time 7.72e-07/0.8296, allocations: 3.938 kB / 1.192 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of Templates: time 0.02489/0.8545, allocations: 13.89 MB / 1.206 GB, free: 3.375 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches