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.006893/0.006894, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001363/0.001362, allocations: 195 kB / 16.79 MB, free: 6.254 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 461.8 MB / 0.7348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001598, allocations: 64.34 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3277, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01022/0.338, allocations: 8.354 MB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1612/0.4992, allocations: 149.5 MB / 1.207 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.5012, allocations: 23.88 kB / 1.207 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.5028, allocations: 234 kB / 1.207 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.5061, allocations: 0.7205 MB / 1.208 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.5096, allocations: 1.227 MB / 1.209 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.5135, allocations: 2.787 MB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.5161, allocations: 1.437 MB / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.518, allocations: 1.016 MB / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.52, allocations: 1.221 MB / 1.215 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0008331/0.5209, allocations: 160 kB / 1.215 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.5226, allocations: 0.5113 MB / 1.216 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000837/0.5234, allocations: 0.5292 MB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.5255, allocations: 1.181 MB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.5289, allocations: 2.752 MB / 1.22 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.529, allocations: 0 / 1.22 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.529, allocations: 4 kB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001444/0.5291, allocations: 0 / 1.22 GB, free: 11.92 MB / 0.9825 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.008462/0.5376, allocations: 2.823 MB / 1.223 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5376, allocations: 11.97 kB / 1.223 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.5544, allocations: 2.104 MB / 1.225 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.5574, allocations: 1.274 MB / 1.226 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.5576, allocations: 168.5 kB / 1.227 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000822/0.5584, allocations: 216 kB / 1.227 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.5693, allocations: 3.278 MB / 1.23 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/0.5694, allocations: 0 / 1.23 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005211/0.5699, allocations: 92 kB / 1.23 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.57, allocations: 60 kB / 1.23 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.5836, allocations: 4.201 MB / 1.234 GB, free: 13.46 MB / 0.9981 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.01989/0.6035, allocations: 8.108 MB / 1.242 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009965/0.6135, allocations: 2.876 MB / 1.245 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004818/0.6184, allocations: 1.493 MB / 1.246 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009203/0.6194, allocations: 0.4957 MB / 1.247 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5523/1.172, allocations: 1.843 MB / 1.249 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 5.159e-06/1.172, allocations: 10.08 kB / 1.249 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.0148/1.187, allocations: 4.465 MB / 1.253 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/1.187, allocations: 210.7 kB / 1.253 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/1.188, allocations: 0.9505 MB / 1.254 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003491/1.188, allocations: 64.3 kB / 1.254 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/1.189, allocations: 0.7388 MB / 1.255 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006482/1.19, allocations: 0.6805 MB / 1.256 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007771/1.19, allocations: 394.1 kB / 1.256 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/1.191, allocations: 304.4 kB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/1.195, allocations: 1.258 MB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/1.199, allocations: 1.441 MB / 1.259 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008539/1.207, allocations: 2.607 MB / 1.261 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.207, allocations: 0.625 kB / 1.261 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01089/1.218, allocations: 3.127 MB / 1.265 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/1.218, allocations: 5.438 kB / 1.265 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.218, allocations: 1.594 kB / 1.265 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006717/1.219, allocations: 88.3 kB / 1.265 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004258/1.223, allocations: 0.6043 MB / 1.265 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.225, allocations: 1.54 MB / 1.267 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/1.229, allocations: 382.4 kB / 1.267 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005761/1.23, allocations: 100.6 kB / 1.267 GB, free: 186.3 MB / 0.9981 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.001459/1.231, allocations: 437.3 kB / 1.268 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006141/1.232, allocations: 156.2 kB / 1.268 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.244, allocations: 3.712 MB / 1.271 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/1.244, allocations: 22.31 kB / 1.271 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/1.244, allocations: 0 / 1.271 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/1.245, allocations: 14.81 kB / 1.271 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/1.249, allocations: 2.452 MB / 1.274 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/1.249, allocations: 5.25 kB / 1.274 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003687/1.252, allocations: 0.5546 MB / 1.274 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005904/1.253, allocations: 91.38 kB / 1.274 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003791/1.253, allocations: 72.36 kB / 1.275 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/1.255, allocations: 1.549 MB / 1.276 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.255, allocations: 5.656 kB / 1.276 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.266, allocations: 3.208 MB / 1.279 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.267, allocations: 0.5533 MB / 1.28 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006341/1.268, allocations: 50.11 kB / 1.28 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/1.271, allocations: 288.2 kB / 1.28 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/1.272, allocations: 149.3 kB / 1.28 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003672/1.272, allocations: 96.03 kB / 1.28 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001385/1.273, allocations: 0.6973 MB / 1.281 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.273, allocations: 0 / 1.281 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002553/1.276, allocations: 0.6687 MB / 1.282 GB, free: 180.3 MB / 0.9981 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.001802/1.278, allocations: 0.6565 MB / 1.282 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.288, allocations: 3.167 MB / 1.285 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.288, allocations: 0 / 1.285 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005271/1.294, allocations: 1.75 MB / 1.287 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.296, allocations: 374.5 kB / 1.287 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/1.307, allocations: 5.141 MB / 1.292 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009278/1.308, allocations: 1.422 MB / 1.294 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/1.31, allocations: 285.1 kB / 1.294 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.183e-06/1.31, allocations: 0 / 1.294 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04886/1.359, allocations: 42.2 MB / 1.335 GB, free: 133.4 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 -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