Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 164.6 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.67/2.67, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.89 kB / 0.9515 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3082, allocations: 169.9 MB / 1.117 GB, free: 2.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01169/0.3199, allocations: 7.346 MB / 1.125 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7162/1.036, allocations: 133.9 MB / 1.255 GB, free: 488 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/1.037, allocations: 32.47 kB / 1.255 GB, free: 472 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/1.038, allocations: 332 kB / 1.256 GB, free: 240 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/1.041, allocations: 0.8757 MB / 1.257 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/1.044, allocations: 1.398 MB / 1.258 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004076/1.048, allocations: 3.017 MB / 1.261 GB, free: 13.36 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/1.05, allocations: 0.9625 MB / 1.262 GB, free: 12.77 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/1.052, allocations: 1.265 MB / 1.263 GB, free: 12.15 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/1.054, allocations: 1.208 MB / 1.264 GB, free: 11.6 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005223/1.055, allocations: 327 kB / 1.265 GB, free: 11.6 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/1.056, allocations: 0.7109 MB / 1.265 GB, free: 11.48 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007342/1.057, allocations: 0.7041 MB / 1.266 GB, free: 11 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/1.058, allocations: 1.099 MB / 1.267 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005135/1.063, allocations: 3.742 MB / 1.271 GB, free: 8.758 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.063, allocations: 0 / 1.271 GB, free: 8.758 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.673e-06/1.063, allocations: 0 / 1.271 GB, free: 8.758 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.432e-05/1.063, allocations: 1.438 kB / 1.271 GB, free: 8.758 MB / 1.123 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.00704/1.071, allocations: 2.849 MB / 1.273 GB, free: 7.102 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.071, allocations: 9.781 kB / 1.273 GB, free: 7.102 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/1.09, allocations: 2.316 MB / 1.276 GB, free: 6.875 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/1.094, allocations: 1.235 MB / 1.277 GB, free: 6.102 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/1.094, allocations: 167.8 kB / 1.277 GB, free: 6.027 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006077/1.094, allocations: 219.1 kB / 1.277 GB, free: 5.957 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/1.104, allocations: 3.54 MB / 1.281 GB, free: 4.457 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/1.104, allocations: 0 / 1.281 GB, free: 4.457 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/1.105, allocations: 93.03 kB / 1.281 GB, free: 4.387 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/1.105, allocations: 58.8 kB / 1.281 GB, free: 4.383 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/1.119, allocations: 4.137 MB / 1.285 GB, free: 3.301 MB / 1.123 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.01696/1.136, allocations: 6.125 MB / 1.291 GB, free: 15.42 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009742/1.145, allocations: 2.705 MB / 1.294 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004696/1.15, allocations: 1.355 MB / 1.295 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007179/1.151, allocations: 115.9 kB / 1.295 GB, free: 13.32 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005615/1.156, allocations: 1.951 MB / 1.297 GB, free: 12.09 MB / 1.139 GB Notification: Performance of pre-optimization done (n=213): time 4.698e-06/1.156, allocations: 0 / 1.297 GB, free: 12.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=213): time 0.01563/1.172, allocations: 4.384 MB / 1.301 GB, free: 9.934 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.172, allocations: 206.1 kB / 1.301 GB, free: 9.707 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.173, allocations: 0.8273 MB / 1.302 GB, free: 9.234 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.174, allocations: 63.73 kB / 1.302 GB, free: 9.176 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/1.174, allocations: 0.77 MB / 1.303 GB, free: 8.496 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000778/1.175, allocations: 0.7151 MB / 1.304 GB, free: 7.855 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007731/1.176, allocations: 400.8 kB / 1.304 GB, free: 7.609 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.176, allocations: 305.5 kB / 1.304 GB, free: 7.312 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004309/1.18, allocations: 1.255 MB / 1.306 GB, free: 6.684 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004643/1.185, allocations: 1.572 MB / 1.307 GB, free: 5.465 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008998/1.194, allocations: 2.602 MB / 1.31 GB, free: 2.844 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.194, allocations: 0 / 1.31 GB, free: 2.844 MB / 1.139 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.011/1.205, allocations: 3.117 MB / 1.313 GB, free: 15.71 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.205, allocations: 7.938 kB / 1.313 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.205, allocations: 7.984 kB / 1.313 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/1.206, allocations: 84.84 kB / 1.313 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/1.21, allocations: 0.6045 MB / 1.313 GB, free: 15.01 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/1.212, allocations: 1.505 MB / 1.315 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/1.215, allocations: 342.8 kB / 1.315 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/1.215, allocations: 103.9 kB / 1.315 GB, free: 12.96 MB / 1.154 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.001135/1.217, allocations: 448 kB / 1.316 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/1.217, allocations: 147.1 kB / 1.316 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.229, allocations: 3.709 MB / 1.319 GB, free: 8.648 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/1.229, allocations: 29.52 kB / 1.319 GB, free: 8.621 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.229, allocations: 4 kB / 1.319 GB, free: 8.617 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/1.229, allocations: 7.969 kB / 1.319 GB, free: 8.609 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/1.232, allocations: 1.743 MB / 1.321 GB, free: 6.84 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.232, allocations: 4 kB / 1.321 GB, free: 6.836 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/1.236, allocations: 0.5655 MB / 1.322 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/1.237, allocations: 80.77 kB / 1.322 GB, free: 6.188 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/1.237, allocations: 71.92 kB / 1.322 GB, free: 6.117 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/1.239, allocations: 1.54 MB / 1.323 GB, free: 4.473 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.239, allocations: 0 / 1.323 GB, free: 4.473 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.25, allocations: 3.203 MB / 1.327 GB, free: 1.25 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.251, allocations: 464.1 kB / 1.327 GB, free: 0.793 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/1.251, allocations: 55.94 kB / 1.327 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.254, allocations: 263.7 kB / 1.327 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/1.254, allocations: 161.7 kB / 1.327 GB, free: 328 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/1.255, allocations: 95.91 kB / 1.328 GB, free: 232 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009363/1.256, allocations: 0.6062 MB / 1.328 GB, free: 15.61 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.256, allocations: 2.625 kB / 1.328 GB, free: 15.61 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002066/1.258, allocations: 0.7129 MB / 1.329 GB, free: 14.89 MB / 1.17 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.002314/1.26, allocations: 0.6981 MB / 1.329 GB, free: 14.43 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.27, allocations: 3.041 MB / 1.332 GB, free: 11.37 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.27, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/1.275, allocations: 1.618 MB / 1.334 GB, free: 9.742 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.277, allocations: 364.6 kB / 1.334 GB, free: 9.406 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009424/1.286, allocations: 4.136 MB / 1.338 GB, free: 5.234 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/1.287, allocations: 0.86 MB / 1.339 GB, free: 4.332 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002687/1.29, allocations: 0.559 MB / 1.34 GB, free: 3.766 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.291, allocations: 236.3 kB / 1.34 GB, free: 3.535 MB / 1.17 GB Notification: Performance of SimCode: time 7.61e-07/1.291, allocations: 3.938 kB / 1.34 GB, free: 3.531 MB / 1.17 GB Notification: Performance of Templates: time 0.05278/1.344, allocations: 30.63 MB / 1.37 GB, free: 5.238 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.045355307986028]