Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001818/0.001818, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.002035/0.002035, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 63.27 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3188, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007749/0.3266, allocations: 5.974 MB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6708/0.9975, allocations: 150.8 MB / 1.18 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.9986, allocations: 20.88 kB / 1.18 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008648/0.9996, allocations: 236.9 kB / 1.18 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/1.002, allocations: 0.6173 MB / 1.181 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/1.004, allocations: 0.8731 MB / 1.182 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002418/1.007, allocations: 1.659 MB / 1.183 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/1.008, allocations: 0.8667 MB / 1.184 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/1.009, allocations: 0.6093 MB / 1.185 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/1.01, allocations: 0.658 MB / 1.185 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003194/1.011, allocations: 158.3 kB / 1.185 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/1.012, allocations: 0.5116 MB / 1.186 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/1.012, allocations: 379.2 kB / 1.186 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007088/1.013, allocations: 0.7276 MB / 1.187 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/1.015, allocations: 2.031 MB / 1.189 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.015, allocations: 4.281 kB / 1.189 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.552e-06/1.015, allocations: 0 / 1.189 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.199e-05/1.015, allocations: 0 / 1.189 GB, free: 15.68 MB / 0.9044 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.003059/1.018, allocations: 1.722 MB / 1.191 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.018, allocations: 9.625 kB / 1.191 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/1.019, allocations: 220.4 kB / 1.191 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/1.021, allocations: 0.87 MB / 1.192 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/1.021, allocations: 94.62 kB / 1.192 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/1.021, allocations: 118 kB / 1.192 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.023, allocations: 1.199 MB / 1.193 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/1.023, allocations: 0 / 1.193 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.023, allocations: 52.19 kB / 1.193 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/1.023, allocations: 29.12 kB / 1.193 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/1.025, allocations: 1.288 MB / 1.194 GB, free: 12.03 MB / 0.9044 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.005204/1.03, allocations: 3.532 MB / 1.198 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.032, allocations: 0.8703 MB / 1.199 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/1.032, allocations: 324.6 kB / 1.199 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.713e-05/1.033, allocations: 35.75 kB / 1.199 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009051/1.033, allocations: 0.522 MB / 1.2 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/1.033, allocations: 0 / 1.2 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.003272/1.037, allocations: 1.285 MB / 1.201 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/1.037, allocations: 191.1 kB / 1.201 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/1.038, allocations: 0.7286 MB / 1.202 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/1.038, allocations: 46.41 kB / 1.202 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/1.038, allocations: 0.5157 MB / 1.202 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/1.038, allocations: 281.8 kB / 1.203 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/1.039, allocations: 175.9 kB / 1.203 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.039, allocations: 351.9 kB / 1.203 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/1.039, allocations: 288.3 kB / 1.203 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/1.04, allocations: 391.4 kB / 1.204 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.041, allocations: 0.6585 MB / 1.204 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.041, allocations: 0 / 1.204 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001985/1.043, allocations: 0.9212 MB / 1.205 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.043, allocations: 5.906 kB / 1.205 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.043, allocations: 2.344 kB / 1.205 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/1.044, allocations: 87.39 kB / 1.205 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/1.044, allocations: 176.8 kB / 1.205 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/1.047, allocations: 1.624 MB / 1.207 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/1.047, allocations: 110.3 kB / 1.207 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/1.048, allocations: 34.59 kB / 1.207 GB, free: 2.734 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.0004835/1.048, allocations: 294.5 kB / 1.207 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/1.048, allocations: 100.6 kB / 1.208 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/1.051, allocations: 1.119 MB / 1.209 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.051, allocations: 7.859 kB / 1.209 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.051, allocations: 14.09 kB / 1.209 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.051, allocations: 3.984 kB / 1.209 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/1.052, allocations: 1.044 MB / 1.21 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.052, allocations: 0 / 1.21 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/1.053, allocations: 157.7 kB / 1.21 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/1.053, allocations: 73.52 kB / 1.21 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/1.053, allocations: 35.97 kB / 1.21 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.055, allocations: 1.662 MB / 1.212 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.055, allocations: 4.031 kB / 1.212 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/1.057, allocations: 0.9823 MB / 1.213 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/1.057, allocations: 287.6 kB / 1.213 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/1.057, allocations: 16 kB / 1.213 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/1.058, allocations: 67.92 kB / 1.213 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.058, allocations: 76.84 kB / 1.213 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/1.058, allocations: 39.97 kB / 1.213 GB, free: 13.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006628/1.059, allocations: 0.5107 MB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.059, allocations: 0 / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009907/1.06, allocations: 390.8 kB / 1.214 GB, free: 12.71 MB / 0.92 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.001367/1.061, allocations: 0.6155 MB / 1.214 GB, free: 12.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001752/1.063, allocations: 0.8907 MB / 1.215 GB, free: 11.37 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.063, allocations: 4 kB / 1.215 GB, free: 11.37 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/1.064, allocations: 0.5472 MB / 1.216 GB, free: 10.81 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.065, allocations: 321.5 kB / 1.216 GB, free: 10.51 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/1.069, allocations: 1.958 MB / 1.218 GB, free: 8.527 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/1.069, allocations: 1.106 MB / 1.219 GB, free: 7.395 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008872/1.07, allocations: 291.6 kB / 1.219 GB, free: 7.105 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.071, allocations: 123.3 kB / 1.22 GB, free: 6.984 MB / 0.92 GB Notification: Performance of SimCode: time 4.71e-07/1.071, allocations: 0 / 1.22 GB, free: 6.984 MB / 0.92 GB Notification: Performance of Templates: time 0.02673/1.097, allocations: 16.4 MB / 1.236 GB, free: 6.777 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches