Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 108.1 kB / 16.36 MB, free: 5.824 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.00112/0.00112, allocations: 190.5 kB / 17.29 MB, free: 5.48 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: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.573/2.573, allocations: 442.5 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.12 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008856/0.2865, allocations: 8.415 MB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7656/1.052, allocations: 151.8 MB / 1.183 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/1.053, allocations: 22.19 kB / 1.183 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007836/1.054, allocations: 331 kB / 1.184 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/1.057, allocations: 0.8461 MB / 1.184 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/1.059, allocations: 1.387 MB / 1.186 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003236/1.062, allocations: 2.998 MB / 1.189 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/1.064, allocations: 1.493 MB / 1.19 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/1.066, allocations: 1.186 MB / 1.191 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/1.068, allocations: 1.344 MB / 1.193 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000452/1.068, allocations: 325.7 kB / 1.193 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/1.07, allocations: 0.706 MB / 1.194 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/1.07, allocations: 0.6982 MB / 1.194 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/1.071, allocations: 1.336 MB / 1.196 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003389/1.075, allocations: 3.659 MB / 1.199 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.075, allocations: 2.719 kB / 1.199 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.254e-06/1.075, allocations: 0 / 1.199 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.658e-05/1.075, allocations: 0 / 1.199 GB, free: 8.066 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006263/1.081, allocations: 2.831 MB / 1.202 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.081, allocations: 7.438 kB / 1.202 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/1.096, allocations: 2.114 MB / 1.204 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/1.099, allocations: 1.289 MB / 1.205 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.099, allocations: 167.7 kB / 1.205 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/1.099, allocations: 217.8 kB / 1.206 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008258/1.107, allocations: 3.286 MB / 1.209 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/1.108, allocations: 0 / 1.209 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/1.108, allocations: 91.81 kB / 1.209 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/1.108, allocations: 53.31 kB / 1.209 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/1.12, allocations: 4.206 MB / 1.213 GB, free: 14.2 MB / 0.92 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.01749/1.137, allocations: 8.034 MB / 1.221 GB, free: 5.902 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008749/1.146, allocations: 2.884 MB / 1.224 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004192/1.15, allocations: 1.49 MB / 1.225 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007855/1.151, allocations: 0.5112 MB / 1.226 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005072/1.156, allocations: 1.854 MB / 1.227 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=213): time 4.468e-06/1.156, allocations: 0 / 1.227 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=213): time 0.01466/1.171, allocations: 4.47 MB / 1.232 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.171, allocations: 209.9 kB / 1.232 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.173, allocations: 0.9371 MB / 1.233 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002654/1.173, allocations: 69.7 kB / 1.233 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/1.174, allocations: 0.7387 MB / 1.234 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006491/1.174, allocations: 0.6815 MB / 1.234 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008166/1.175, allocations: 399.1 kB / 1.235 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/1.175, allocations: 301.1 kB / 1.235 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004031/1.179, allocations: 1.257 MB / 1.236 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004303/1.183, allocations: 1.445 MB / 1.238 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/1.192, allocations: 2.606 MB / 1.24 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.192, allocations: 0 / 1.24 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009934/1.201, allocations: 3.124 MB / 1.243 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.202, allocations: 8 kB / 1.243 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.202, allocations: 1.406 kB / 1.243 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/1.202, allocations: 88.83 kB / 1.243 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/1.206, allocations: 0.6045 MB / 1.244 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/1.208, allocations: 1.623 MB / 1.246 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/1.212, allocations: 370 kB / 1.246 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003686/1.212, allocations: 107.6 kB / 1.246 GB, free: 11.7 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001267/1.213, allocations: 440.2 kB / 1.246 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/1.214, allocations: 150.1 kB / 1.247 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.226, allocations: 3.716 MB / 1.25 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/1.226, allocations: 24 kB / 1.25 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.226, allocations: 3.984 kB / 1.25 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/1.226, allocations: 11.97 kB / 1.25 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/1.229, allocations: 2.451 MB / 1.253 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/1.229, allocations: 0 / 1.253 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/1.233, allocations: 0.5616 MB / 1.253 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/1.234, allocations: 84.72 kB / 1.253 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002796/1.234, allocations: 75.91 kB / 1.253 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/1.236, allocations: 1.658 MB / 1.255 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.236, allocations: 4.062 kB / 1.255 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.246, allocations: 3.21 MB / 1.258 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.247, allocations: 0.5491 MB / 1.259 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/1.248, allocations: 51.78 kB / 1.259 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.251, allocations: 267.7 kB / 1.259 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/1.251, allocations: 149.9 kB / 1.259 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/1.251, allocations: 99.91 kB / 1.259 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001144/1.253, allocations: 0.6958 MB / 1.26 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/1.253, allocations: 0 / 1.26 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002086/1.255, allocations: 0.6778 MB / 1.261 GB, free: 12.57 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001657/1.256, allocations: 0.6582 MB / 1.261 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009764/1.266, allocations: 3.163 MB / 1.264 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.266, allocations: 4 kB / 1.264 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005123/1.271, allocations: 1.755 MB / 1.266 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.273, allocations: 390.1 kB / 1.266 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009822/1.283, allocations: 4.066 MB / 1.27 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.285, allocations: 1.434 MB / 1.272 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003663/1.288, allocations: 0.5794 MB / 1.272 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.29, allocations: 235.2 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of SimCode: time 2.114e-06/1.29, allocations: 4 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of Templates: time 0.05052/1.34, allocations: 31.44 MB / 1.303 GB, free: 1.16 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches