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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006904/0.006904, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001488/0.001488, allocations: 191 kB / 16.67 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.6 MB / 0.7453 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.89 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3147, allocations: 159.9 MB / 1.226 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006784/0.3215, allocations: 5.964 MB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9043/1.226, allocations: 150.8 MB / 1.379 GB, free: 4.387 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/1.227, allocations: 16.78 kB / 1.379 GB, free: 4.383 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/1.228, allocations: 234.2 kB / 1.379 GB, free: 4.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/1.231, allocations: 0.6206 MB / 1.38 GB, free: 3.859 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/1.233, allocations: 0.8774 MB / 1.38 GB, free: 3.398 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002646/1.236, allocations: 1.651 MB / 1.382 GB, free: 2.539 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/1.238, allocations: 0.8671 MB / 1.383 GB, free: 2.082 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/1.239, allocations: 0.6131 MB / 1.383 GB, free: 1.766 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/1.24, allocations: 0.6534 MB / 1.384 GB, free: 1.297 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003182/1.241, allocations: 155.2 kB / 1.384 GB, free: 1.297 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/1.242, allocations: 0.5147 MB / 1.385 GB, free: 1.113 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/1.242, allocations: 375.2 kB / 1.385 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007792/1.243, allocations: 0.739 MB / 1.386 GB, free: 280 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/1.246, allocations: 2.04 MB / 1.388 GB, free: 14.79 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.246, allocations: 3.75 kB / 1.388 GB, free: 14.79 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.854e-06/1.246, allocations: 0 / 1.388 GB, free: 14.79 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.821e-05/1.246, allocations: 1.375 kB / 1.388 GB, free: 14.79 MB / 1.092 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.003265/1.25, allocations: 1.756 MB / 1.39 GB, free: 13.42 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.25, allocations: 13.03 kB / 1.39 GB, free: 13.42 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/1.251, allocations: 234.7 kB / 1.39 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.252, allocations: 0.8702 MB / 1.391 GB, free: 12.59 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/1.252, allocations: 92 kB / 1.391 GB, free: 12.55 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/1.252, allocations: 117.2 kB / 1.391 GB, free: 12.51 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/1.255, allocations: 1.206 MB / 1.392 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.255, allocations: 0 / 1.392 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.255, allocations: 55.75 kB / 1.392 GB, free: 11.69 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/1.255, allocations: 29.66 kB / 1.392 GB, free: 11.69 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/1.257, allocations: 1.284 MB / 1.393 GB, free: 11.07 MB / 1.092 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.005368/1.262, allocations: 3.542 MB / 1.397 GB, free: 8.219 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.264, allocations: 0.875 MB / 1.398 GB, free: 7.766 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/1.264, allocations: 324.4 kB / 1.398 GB, free: 7.605 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.416e-05/1.264, allocations: 35.66 kB / 1.398 GB, free: 7.586 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009124/1.265, allocations: 0.5109 MB / 1.399 GB, free: 7.262 MB / 1.092 GB Notification: Performance of pre-optimization done (n=87): time 1.684e-05/1.265, allocations: 3.938 kB / 1.399 GB, free: 7.258 MB / 1.092 GB Notification: Performance of matching and sorting (n=87): time 0.003305/1.269, allocations: 1.29 MB / 1.4 GB, free: 6.559 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/1.269, allocations: 193.2 kB / 1.4 GB, free: 6.332 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.27, allocations: 0.7275 MB / 1.401 GB, free: 5.914 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/1.27, allocations: 50 kB / 1.401 GB, free: 5.863 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/1.27, allocations: 0.5195 MB / 1.401 GB, free: 5.402 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/1.271, allocations: 301.9 kB / 1.402 GB, free: 5.141 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/1.271, allocations: 171.1 kB / 1.402 GB, free: 5.039 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.271, allocations: 345.6 kB / 1.402 GB, free: 4.703 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/1.272, allocations: 296 kB / 1.402 GB, free: 4.559 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/1.272, allocations: 390.6 kB / 1.403 GB, free: 4.336 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.273, allocations: 0.6575 MB / 1.403 GB, free: 3.984 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.273, allocations: 1.25 kB / 1.403 GB, free: 3.984 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002045/1.276, allocations: 0.9281 MB / 1.404 GB, free: 3.512 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.276, allocations: 7.344 kB / 1.404 GB, free: 3.512 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.276, allocations: 0 / 1.404 GB, free: 3.512 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/1.276, allocations: 89.31 kB / 1.404 GB, free: 3.469 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/1.277, allocations: 180.2 kB / 1.404 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/1.279, allocations: 1.628 MB / 1.406 GB, free: 1.824 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009272/1.28, allocations: 101.1 kB / 1.406 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/1.28, allocations: 46.53 kB / 1.406 GB, free: 1.738 MB / 1.092 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.0005502/1.281, allocations: 299.6 kB / 1.407 GB, free: 1.508 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/1.281, allocations: 100.8 kB / 1.407 GB, free: 1.453 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/1.283, allocations: 1.119 MB / 1.408 GB, free: 0.832 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.283, allocations: 10.38 kB / 1.408 GB, free: 0.832 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.283, allocations: 3.938 kB / 1.408 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.283, allocations: 5.141 kB / 1.408 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/1.284, allocations: 1.052 MB / 1.409 GB, free: 48 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.284, allocations: 4 kB / 1.409 GB, free: 44 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/1.285, allocations: 159.2 kB / 1.409 GB, free: 4 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/1.286, allocations: 66.08 kB / 1.409 GB, free: 15.97 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/1.286, allocations: 36.72 kB / 1.409 GB, free: 15.95 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/1.287, allocations: 1.657 MB / 1.411 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.287, allocations: 0 / 1.411 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/1.289, allocations: 0.9967 MB / 1.412 GB, free: 13.8 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/1.29, allocations: 292.9 kB / 1.412 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.29, allocations: 20.66 kB / 1.412 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/1.291, allocations: 64.45 kB / 1.412 GB, free: 13.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.291, allocations: 74.22 kB / 1.412 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/1.291, allocations: 39.78 kB / 1.412 GB, free: 13.44 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006155/1.291, allocations: 0.5206 MB / 1.413 GB, free: 13.14 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.291, allocations: 0 / 1.413 GB, free: 13.14 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009869/1.292, allocations: 387.8 kB / 1.413 GB, free: 13.03 MB / 1.107 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.001337/1.294, allocations: 0.6171 MB / 1.414 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001748/1.295, allocations: 0.8878 MB / 1.414 GB, free: 12.25 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.295, allocations: 7.938 kB / 1.414 GB, free: 12.24 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/1.296, allocations: 0.5354 MB / 1.415 GB, free: 11.69 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.298, allocations: 336.7 kB / 1.415 GB, free: 11.39 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/1.301, allocations: 2.013 MB / 1.417 GB, free: 9.352 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/1.302, allocations: 1.11 MB / 1.418 GB, free: 8.219 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000932/1.303, allocations: 287.6 kB / 1.419 GB, free: 7.934 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/1.303, allocations: 115.4 kB / 1.419 GB, free: 7.824 MB / 1.107 GB Notification: Performance of SimCode: time 9.32e-07/1.303, allocations: 0 / 1.419 GB, free: 7.824 MB / 1.107 GB Notification: Performance of Templates: time 0.02933/1.333, allocations: 16.55 MB / 1.435 GB, free: 7.449 MB / 1.123 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches