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.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.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.001325/0.001325, allocations: 106.6 kB / 16.27 MB, free: 6.008 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.001292/0.001292, allocations: 188.2 kB / 17.2 MB, free: 5.621 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.549/2.549, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 72.11 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007436/0.3363, allocations: 4.866 MB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7318/1.068, allocations: 150.6 MB / 1.17 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/1.07, allocations: 15.88 kB / 1.17 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007837/1.07, allocations: 189.6 kB / 1.17 GB, free: 400 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.073, allocations: 0.5411 MB / 1.171 GB, free: 80 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/1.075, allocations: 0.8213 MB / 1.171 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002248/1.077, allocations: 1.372 MB / 1.173 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/1.078, allocations: 0.5808 MB / 1.173 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/1.08, allocations: 481.4 kB / 1.174 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007831/1.08, allocations: 0.4933 MB / 1.174 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/1.081, allocations: 113.9 kB / 1.174 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/1.082, allocations: 460.1 kB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/1.082, allocations: 290.4 kB / 1.175 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007197/1.083, allocations: 0.557 MB / 1.176 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/1.086, allocations: 1.58 MB / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.086, allocations: 1.062 kB / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.254e-06/1.086, allocations: 0 / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.086, allocations: 0 / 1.177 GB, free: 12.52 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003143/1.089, allocations: 1.425 MB / 1.178 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.089, allocations: 15.25 kB / 1.178 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.09, allocations: 181.9 kB / 1.179 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/1.091, allocations: 0.7423 MB / 1.179 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/1.091, allocations: 64.36 kB / 1.179 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/1.091, allocations: 81.62 kB / 1.18 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.093, allocations: 0.9062 MB / 1.18 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/1.093, allocations: 5.188 kB / 1.18 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/1.093, allocations: 40.73 kB / 1.18 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/1.093, allocations: 32.27 kB / 1.18 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/1.095, allocations: 1.1 MB / 1.182 GB, free: 9.477 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.005322/1.101, allocations: 2.69 MB / 1.184 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/1.102, allocations: 0.807 MB / 1.185 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/1.103, allocations: 300.3 kB / 1.185 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-05/1.103, allocations: 31.81 kB / 1.185 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/1.104, allocations: 0.4951 MB / 1.186 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/1.104, allocations: 0 / 1.186 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=80): time 0.003576/1.108, allocations: 1.185 MB / 1.187 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/1.108, allocations: 193.6 kB / 1.187 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/1.109, allocations: 0.6305 MB / 1.188 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/1.109, allocations: 43.02 kB / 1.188 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/1.109, allocations: 388.2 kB / 1.188 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.11, allocations: 261.7 kB / 1.188 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/1.11, allocations: 162.7 kB / 1.189 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002511/1.11, allocations: 392.8 kB / 1.189 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/1.111, allocations: 273 kB / 1.189 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/1.112, allocations: 365.4 kB / 1.19 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.113, allocations: 0.6031 MB / 1.19 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.113, allocations: 3.938 kB / 1.19 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002005/1.115, allocations: 0.8549 MB / 1.191 GB, free: 3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.115, allocations: 4.219 kB / 1.191 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.115, allocations: 2.5 kB / 1.191 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/1.115, allocations: 79.33 kB / 1.191 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/1.116, allocations: 163.8 kB / 1.191 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/1.119, allocations: 1.636 MB / 1.193 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009358/1.12, allocations: 92.25 kB / 1.193 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/1.12, allocations: 39.34 kB / 1.193 GB, free: 1.234 MB / 0.8887 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 (95): * Single equations (assignments): 94 * 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.0005643/1.12, allocations: 275.3 kB / 1.193 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/1.12, allocations: 82.34 kB / 1.193 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/1.123, allocations: 1.06 MB / 1.194 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.123, allocations: 9.875 kB / 1.194 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/1.123, allocations: 3.938 kB / 1.194 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.123, allocations: 11.95 kB / 1.194 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.124, allocations: 0.8839 MB / 1.195 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.124, allocations: 0 / 1.195 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/1.125, allocations: 143.1 kB / 1.195 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/1.125, allocations: 73.06 kB / 1.195 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/1.125, allocations: 26.39 kB / 1.195 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/1.127, allocations: 1.657 MB / 1.197 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.127, allocations: 0 / 1.197 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/1.129, allocations: 0.9227 MB / 1.198 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/1.13, allocations: 275.6 kB / 1.198 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.13, allocations: 24.67 kB / 1.198 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/1.131, allocations: 62.38 kB / 1.198 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.131, allocations: 69.08 kB / 1.198 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/1.131, allocations: 35.11 kB / 1.198 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006164/1.131, allocations: 457 kB / 1.199 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.131, allocations: 0 / 1.199 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009218/1.132, allocations: 324.3 kB / 1.199 GB, free: 12.8 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.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 (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.001906/1.134, allocations: 0.6099 MB / 1.2 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00243/1.137, allocations: 1.029 MB / 1.201 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.137, allocations: 2.938 kB / 1.201 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008943/1.138, allocations: 0.5116 MB / 1.201 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.139, allocations: 298.5 kB / 1.202 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/1.142, allocations: 1.697 MB / 1.203 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/1.143, allocations: 1.023 MB / 1.204 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.143, allocations: 112.5 kB / 1.204 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/1.143, allocations: 0 / 1.204 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of Templates: time 0.02752/1.17, allocations: 18.38 MB / 1.222 GB, free: 7.723 MB / 0.92 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time