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.001679/0.00168, allocations: 104.1 kB / 16.27 MB, free: 6.418 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.001982/0.001982, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.478/1.478, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.506/2.506, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001897, allocations: 68.05 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2906, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007478/0.2981, allocations: 4.87 MB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7276/1.026, allocations: 150.6 MB / 1.17 GB, free: 480 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009978/1.027, allocations: 14.31 kB / 1.17 GB, free: 476 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/1.027, allocations: 190.4 kB / 1.17 GB, free: 352 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/1.03, allocations: 0.5421 MB / 1.17 GB, free: 32 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/1.032, allocations: 0.8303 MB / 1.171 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001758/1.033, allocations: 1.36 MB / 1.173 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/1.034, allocations: 0.5859 MB / 1.173 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007551/1.035, allocations: 478 kB / 1.174 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006325/1.036, allocations: 0.4975 MB / 1.174 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/1.036, allocations: 114.4 kB / 1.174 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/1.037, allocations: 455.7 kB / 1.175 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/1.037, allocations: 296.4 kB / 1.175 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005824/1.038, allocations: 0.5577 MB / 1.176 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/1.04, allocations: 1.575 MB / 1.177 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.04, allocations: 5.25 kB / 1.177 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/1.04, allocations: 0 / 1.177 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.702e-05/1.04, allocations: 0 / 1.177 GB, free: 12.43 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.002678/1.042, allocations: 1.422 MB / 1.178 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.043, allocations: 18.8 kB / 1.178 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009712/1.043, allocations: 181.9 kB / 1.179 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/1.045, allocations: 0.7424 MB / 1.179 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/1.045, allocations: 60.38 kB / 1.179 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.045, allocations: 89.36 kB / 1.18 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.046, allocations: 0.906 MB / 1.18 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.046, allocations: 9.188 kB / 1.18 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.655e-05/1.046, allocations: 36.44 kB / 1.18 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/1.046, allocations: 23.84 kB / 1.18 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/1.048, allocations: 1.106 MB / 1.182 GB, free: 9.398 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.004088/1.052, allocations: 2.695 MB / 1.184 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/1.054, allocations: 0.7983 MB / 1.185 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/1.054, allocations: 296.6 kB / 1.185 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-05/1.054, allocations: 32.56 kB / 1.185 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008702/1.055, allocations: 0.4911 MB / 1.186 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=80): time 2.384e-06/1.055, allocations: 0 / 1.186 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=80): time 0.003263/1.059, allocations: 1.184 MB / 1.187 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.059, allocations: 197.2 kB / 1.187 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/1.06, allocations: 0.6288 MB / 1.188 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/1.06, allocations: 46.16 kB / 1.188 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/1.06, allocations: 391.7 kB / 1.188 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/1.06, allocations: 261.5 kB / 1.188 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/1.061, allocations: 167.8 kB / 1.189 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.061, allocations: 388.5 kB / 1.189 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/1.061, allocations: 270 kB / 1.189 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/1.062, allocations: 362.4 kB / 1.189 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.063, allocations: 0.6078 MB / 1.19 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.063, allocations: 2.625 kB / 1.19 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001978/1.065, allocations: 0.8493 MB / 1.191 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.065, allocations: 4.281 kB / 1.191 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.065, allocations: 2.938 kB / 1.191 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/1.066, allocations: 79.06 kB / 1.191 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/1.066, allocations: 164 kB / 1.191 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/1.068, allocations: 1.637 MB / 1.193 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/1.069, allocations: 90.41 kB / 1.193 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/1.069, allocations: 40.88 kB / 1.193 GB, free: 1.164 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.0004562/1.07, allocations: 278 kB / 1.193 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.07, allocations: 82.03 kB / 1.193 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/1.072, allocations: 1.06 MB / 1.194 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/1.072, allocations: 10.25 kB / 1.194 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.072, allocations: 0 / 1.194 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.072, allocations: 7.922 kB / 1.194 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.073, allocations: 0.8833 MB / 1.195 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.073, allocations: 0 / 1.195 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/1.074, allocations: 142.9 kB / 1.195 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/1.074, allocations: 75.22 kB / 1.195 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/1.074, allocations: 23.58 kB / 1.195 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/1.076, allocations: 1.67 MB / 1.197 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.076, allocations: 0 / 1.197 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/1.078, allocations: 0.9221 MB / 1.198 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/1.079, allocations: 271 kB / 1.198 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.079, allocations: 21.31 kB / 1.198 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/1.08, allocations: 68.45 kB / 1.198 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.08, allocations: 69.38 kB / 1.198 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/1.08, allocations: 34.72 kB / 1.198 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005769/1.08, allocations: 454.2 kB / 1.199 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.08, allocations: 4 kB / 1.199 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009048/1.081, allocations: 318.7 kB / 1.199 GB, free: 12.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.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.001419/1.083, allocations: 0.6164 MB / 1.2 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00233/1.085, allocations: 1.028 MB / 1.201 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.085, allocations: 2.625 kB / 1.201 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009233/1.086, allocations: 0.5126 MB / 1.201 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.087, allocations: 304.8 kB / 1.201 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/1.09, allocations: 1.695 MB / 1.203 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/1.091, allocations: 1.018 MB / 1.204 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/1.091, allocations: 114.1 kB / 1.204 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of SimCode: time 5.91e-07/1.091, allocations: 0 / 1.204 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of Templates: time 0.02538/1.117, allocations: 18.38 MB / 1.222 GB, free: 7.625 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=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/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