Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.002178/0.002178, allocations: 189.9 kB / 17.2 MB, free: 5.598 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.572/2.572, allocations: 437.1 MB / 0.711 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 72.14 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008278/0.3287, allocations: 5.979 MB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6654/0.9942, allocations: 150.8 MB / 1.171 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.9952, allocations: 20.62 kB / 1.171 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007678/0.9961, allocations: 232 kB / 1.171 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.9982, allocations: 0.6245 MB / 1.172 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/1, allocations: 0.8761 MB / 1.173 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002337/1.003, allocations: 1.644 MB / 1.174 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/1.004, allocations: 0.8664 MB / 1.175 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/1.005, allocations: 0.6046 MB / 1.176 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009783/1.006, allocations: 0.6646 MB / 1.177 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/1.007, allocations: 153.5 kB / 1.177 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/1.008, allocations: 494.7 kB / 1.177 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/1.008, allocations: 377.8 kB / 1.177 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007925/1.009, allocations: 0.7352 MB / 1.178 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002525/1.012, allocations: 1.986 MB / 1.18 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.012, allocations: 1.062 kB / 1.18 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/1.012, allocations: 0 / 1.18 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.096e-05/1.012, allocations: 0 / 1.18 GB, free: 10.1 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003262/1.015, allocations: 1.717 MB / 1.182 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.015, allocations: 13.19 kB / 1.182 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.016, allocations: 225.3 kB / 1.182 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/1.017, allocations: 0.8409 MB / 1.183 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/1.017, allocations: 90.59 kB / 1.183 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.018, allocations: 120.9 kB / 1.183 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/1.02, allocations: 1.202 MB / 1.184 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/1.02, allocations: 1.281 kB / 1.184 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/1.02, allocations: 51.62 kB / 1.184 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/1.02, allocations: 28.75 kB / 1.184 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/1.022, allocations: 1.285 MB / 1.186 GB, free: 6.473 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.00568/1.028, allocations: 3.578 MB / 1.189 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/1.029, allocations: 0.8684 MB / 1.19 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/1.03, allocations: 322 kB / 1.19 GB, free: 3 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.082e-05/1.03, allocations: 33.62 kB / 1.19 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009367/1.031, allocations: 0.5214 MB / 1.191 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=87): time 4.548e-06/1.031, allocations: 3.984 kB / 1.191 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=87): time 0.003378/1.034, allocations: 1.281 MB / 1.192 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.035, allocations: 196 kB / 1.192 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.036, allocations: 0.7366 MB / 1.193 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/1.036, allocations: 42.64 kB / 1.193 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/1.036, allocations: 0.5203 MB / 1.193 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.036, allocations: 273.3 kB / 1.194 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/1.037, allocations: 184.8 kB / 1.194 GB, free: 444 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.037, allocations: 343.3 kB / 1.194 GB, free: 104 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/1.037, allocations: 290.3 kB / 1.195 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/1.038, allocations: 389.4 kB / 1.195 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.039, allocations: 0.6601 MB / 1.196 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.039, allocations: 0 / 1.196 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002226/1.042, allocations: 0.9181 MB / 1.196 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.042, allocations: 7.781 kB / 1.196 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.042, allocations: 1.781 kB / 1.196 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/1.042, allocations: 87.98 kB / 1.197 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/1.043, allocations: 178.7 kB / 1.197 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.045, allocations: 1.633 MB / 1.198 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/1.046, allocations: 98.36 kB / 1.198 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/1.046, allocations: 38.91 kB / 1.198 GB, free: 13.14 MB / 0.9044 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 (104): * Single equations (assignments): 103 * 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.0005802/1.047, allocations: 311 kB / 1.199 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/1.047, allocations: 96.28 kB / 1.199 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/1.05, allocations: 1.122 MB / 1.2 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.05, allocations: 10.12 kB / 1.2 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.05, allocations: 3.938 kB / 1.2 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.05, allocations: 7.969 kB / 1.2 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/1.051, allocations: 1.045 MB / 1.201 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.051, allocations: 0 / 1.201 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/1.052, allocations: 154.3 kB / 1.201 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/1.052, allocations: 74 kB / 1.201 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/1.052, allocations: 26.23 kB / 1.201 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/1.054, allocations: 1.669 MB / 1.203 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.054, allocations: 0 / 1.203 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/1.056, allocations: 0.9899 MB / 1.204 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/1.057, allocations: 285.5 kB / 1.204 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.057, allocations: 21.28 kB / 1.204 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/1.058, allocations: 65.11 kB / 1.204 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.058, allocations: 80.02 kB / 1.204 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/1.058, allocations: 32.8 kB / 1.204 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006506/1.058, allocations: 0.5163 MB / 1.205 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/1.058, allocations: 4 kB / 1.205 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000975/1.059, allocations: 392.5 kB / 1.205 GB, free: 8.438 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 (98): * Single equations (assignments): 92 * 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.001865/1.061, allocations: 0.6037 MB / 1.206 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002724/1.064, allocations: 1.102 MB / 1.207 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.064, allocations: 0 / 1.207 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.065, allocations: 0.5393 MB / 1.207 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/1.067, allocations: 327.6 kB / 1.208 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/1.07, allocations: 2.044 MB / 1.21 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/1.071, allocations: 1.114 MB / 1.211 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/1.072, allocations: 123.4 kB / 1.211 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of SimCode: time 1.162e-06/1.072, allocations: 0 / 1.211 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of Templates: time 0.0328/1.105, allocations: 21.77 MB / 1.232 GB, free: 13.38 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches