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.002042/0.002042, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002747/0.002747, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.511/1.511, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.807/2.807, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.747/0.749, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007905/0.7569, allocations: 4.866 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1898/0.9468, allocations: 148.4 MB / 1.166 GB, free: 8.918 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.9481, allocations: 19.88 kB / 1.166 GB, free: 8.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007716/0.9489, allocations: 154.8 kB / 1.167 GB, free: 8.746 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.9513, allocations: 495.4 kB / 1.167 GB, free: 8.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.9538, allocations: 0.7351 MB / 1.168 GB, free: 7.535 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.9558, allocations: 1.378 MB / 1.169 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.9569, allocations: 0.5754 MB / 1.17 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.9579, allocations: 486.3 kB / 1.17 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.9586, allocations: 0.494 MB / 1.171 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.9588, allocations: 116 kB / 1.171 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.9601, allocations: 459.6 kB / 1.171 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.9604, allocations: 299 kB / 1.171 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.9611, allocations: 0.548 MB / 1.172 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.9633, allocations: 1.593 MB / 1.174 GB, free: 1.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.9633, allocations: 4 kB / 1.174 GB, free: 1.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9633, allocations: 0 / 1.174 GB, free: 1.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.9633, allocations: 0 / 1.174 GB, free: 1.578 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.002964/0.9663, allocations: 1.418 MB / 1.175 GB, free: 100 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.9664, allocations: 15.98 kB / 1.175 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.9674, allocations: 183.4 kB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.9686, allocations: 0.7343 MB / 1.176 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.9687, allocations: 66 kB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.9689, allocations: 83.94 kB / 1.176 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.9707, allocations: 0.9106 MB / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.9708, allocations: 0 / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.9709, allocations: 40 kB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.9709, allocations: 20 kB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.9729, allocations: 1.1 MB / 1.178 GB, free: 12.87 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.004636/0.9775, allocations: 2.699 MB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.9791, allocations: 0.798 MB / 1.181 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.9797, allocations: 306.6 kB / 1.182 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/0.9798, allocations: 32.69 kB / 1.182 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009539/0.9808, allocations: 0.4951 MB / 1.182 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.685e-06/0.9808, allocations: 0 / 1.182 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.003481/0.9843, allocations: 1.182 MB / 1.183 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.9844, allocations: 188.6 kB / 1.184 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.9853, allocations: 0.6369 MB / 1.184 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.9854, allocations: 41.7 kB / 1.184 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.9858, allocations: 400.3 kB / 1.185 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.9861, allocations: 264.2 kB / 1.185 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.9864, allocations: 162.5 kB / 1.185 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.9866, allocations: 390.7 kB / 1.185 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.9872, allocations: 269.9 kB / 1.186 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.9879, allocations: 367.1 kB / 1.186 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.9891, allocations: 0.5994 MB / 1.187 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9891, allocations: 4 kB / 1.187 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002199/0.9913, allocations: 0.8566 MB / 1.187 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.9914, allocations: 7.938 kB / 1.187 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.9914, allocations: 0 / 1.187 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006808/0.9921, allocations: 76.84 kB / 1.188 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.9928, allocations: 167.7 kB / 1.188 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.9955, allocations: 1.627 MB / 1.189 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/0.9964, allocations: 104.6 kB / 1.189 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/0.9965, allocations: 35.97 kB / 1.189 GB, free: 0.7812 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 (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.0006115/0.9971, allocations: 267.9 kB / 1.19 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.9974, allocations: 82.97 kB / 1.19 GB, free: 440 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/1, allocations: 1.062 MB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/1, allocations: 12 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1, allocations: 3.938 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1, allocations: 3.984 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.002, allocations: 0.8918 MB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/1.002, allocations: 0 / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/1.002, allocations: 143.8 kB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/1.003, allocations: 72.77 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/1.003, allocations: 27.98 kB / 1.192 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.005, allocations: 1.662 MB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.005, allocations: 4.031 kB / 1.194 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.007, allocations: 0.9162 MB / 1.194 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/1.008, allocations: 271.7 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.008, allocations: 19.98 kB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/1.009, allocations: 64 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.009, allocations: 76.83 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/1.009, allocations: 39.92 kB / 1.195 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006618/1.01, allocations: 455 kB / 1.195 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.01, allocations: 3.938 kB / 1.195 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009475/1.011, allocations: 323.2 kB / 1.196 GB, free: 10.16 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.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.002131/1.013, allocations: 0.5926 MB / 1.196 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002709/1.016, allocations: 1.03 MB / 1.197 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.016, allocations: 0 / 1.197 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.017, allocations: 0.52 MB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/1.018, allocations: 313 kB / 1.198 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/1.022, allocations: 2.048 MB / 1.2 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/1.023, allocations: 1.019 MB / 1.201 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009249/1.024, allocations: 262.6 kB / 1.201 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/1.024, allocations: 107.4 kB / 1.201 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of SimCode: time 1.192e-06/1.024, allocations: 0 / 1.201 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of Templates: time 0.03035/1.054, allocations: 14.91 MB / 1.216 GB, free: 5.676 MB / 0.9669 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/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