Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 113.2 kB / 16.41 MB, free: 6.484 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.002295/0.002295, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.62/1.62, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8348, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01132/0.8461, allocations: 8.242 MB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1958/1.042, allocations: 159.5 MB / 1.331 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/1.044, allocations: 39.81 kB / 1.331 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005442/1.049, allocations: 2.011 MB / 1.333 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/1.053, allocations: 1.296 MB / 1.334 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/1.057, allocations: 1.443 MB / 1.336 GB, free: 6.676 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006652/1.063, allocations: 5.455 MB / 1.341 GB, free: 1.203 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/1.066, allocations: 1.12 MB / 1.342 GB, free: 40 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/1.069, allocations: 1.699 MB / 1.344 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/1.071, allocations: 1.487 MB / 1.345 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005071/1.072, allocations: 276 kB / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/1.076, allocations: 2.364 MB / 1.348 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002779/1.079, allocations: 2.851 MB / 1.351 GB, free: 7.352 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/1.08, allocations: 1.395 MB / 1.352 GB, free: 5.949 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007158/1.088, allocations: 5.205 MB / 1.357 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.088, allocations: 0 / 1.357 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.764e-06/1.088, allocations: 3.938 kB / 1.357 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.25e-05/1.088, allocations: 0 / 1.357 GB, free: 0.7227 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.006553/1.094, allocations: 3.493 MB / 1.361 GB, free: 13.15 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.094, allocations: 8.922 kB / 1.361 GB, free: 13.14 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/1.096, allocations: 378.9 kB / 1.361 GB, free: 12.77 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008716/1.104, allocations: 7.462 MB / 1.368 GB, free: 5.238 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/1.104, allocations: 138.9 kB / 1.368 GB, free: 5.102 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/1.105, allocations: 184 kB / 1.369 GB, free: 4.922 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/1.108, allocations: 1.962 MB / 1.37 GB, free: 2.883 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/1.108, allocations: 11.88 kB / 1.37 GB, free: 2.871 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/1.108, allocations: 64 kB / 1.371 GB, free: 2.809 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/1.108, allocations: 36 kB / 1.371 GB, free: 2.773 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/1.112, allocations: 1.99 MB / 1.373 GB, free: 0.7773 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.01484/1.126, allocations: 10.6 MB / 1.383 GB, free: 5.945 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/1.13, allocations: 1.782 MB / 1.385 GB, free: 4.164 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/1.131, allocations: 1.078 MB / 1.386 GB, free: 3.082 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/1.131, allocations: 37.09 kB / 1.386 GB, free: 3.047 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/1.133, allocations: 1.199 MB / 1.387 GB, free: 1.828 MB / 1.107 GB Notification: Performance of pre-optimization done (n=117): time 2.955e-06/1.133, allocations: 0 / 1.387 GB, free: 1.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=117): time 0.007031/1.14, allocations: 3.472 MB / 1.39 GB, free: 14.32 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002802/1.141, allocations: 346.5 kB / 1.391 GB, free: 13.93 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/1.157, allocations: 11.58 MB / 1.402 GB, free: 2.316 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000471/1.157, allocations: 65.7 kB / 1.402 GB, free: 2.246 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.158, allocations: 0.9857 MB / 1.403 GB, free: 1.254 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005706/1.159, allocations: 420.6 kB / 1.403 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002677/1.162, allocations: 2.717 MB / 1.406 GB, free: 14.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.162, allocations: 305.1 kB / 1.406 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01949/1.181, allocations: 20.11 MB / 1.426 GB, free: 9.688 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0254/1.207, allocations: 20.69 MB / 1.446 GB, free: 4.938 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02603/1.233, allocations: 23.57 MB / 1.469 GB, free: 13.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/1.233, allocations: 0 / 1.469 GB, free: 13.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05138/1.284, allocations: 44.24 MB / 1.512 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002691/1.285, allocations: 169.8 kB / 1.513 GB, free: 0.6719 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.285, allocations: 8 kB / 1.513 GB, free: 0.6641 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000652/1.285, allocations: 88.77 kB / 1.513 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/1.287, allocations: 411.4 kB / 1.513 GB, free: 176 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/1.29, allocations: 1.645 MB / 1.515 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/1.292, allocations: 246.2 kB / 1.515 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005133/1.293, allocations: 111.9 kB / 1.515 GB, free: 14.04 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * 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.002525/1.295, allocations: 1.54 MB / 1.516 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006393/1.296, allocations: 226.4 kB / 1.517 GB, free: 12.26 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/1.302, allocations: 2.933 MB / 1.52 GB, free: 9.301 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/1.302, allocations: 12 kB / 1.52 GB, free: 9.289 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.302, allocations: 0 / 1.52 GB, free: 9.289 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.302, allocations: 11.92 kB / 1.52 GB, free: 9.277 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/1.305, allocations: 1.794 MB / 1.521 GB, free: 7.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.305, allocations: 3.984 kB / 1.521 GB, free: 7.426 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/1.306, allocations: 187.8 kB / 1.521 GB, free: 7.242 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/1.306, allocations: 68.73 kB / 1.522 GB, free: 7.172 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.306, allocations: 43.97 kB / 1.522 GB, free: 7.129 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/1.309, allocations: 1.663 MB / 1.523 GB, free: 5.316 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.309, allocations: 0 / 1.523 GB, free: 5.316 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/1.314, allocations: 2.786 MB / 1.526 GB, free: 2.508 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.316, allocations: 0.4953 MB / 1.526 GB, free: 1.992 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005436/1.316, allocations: 35.95 kB / 1.526 GB, free: 1.957 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.317, allocations: 71.92 kB / 1.527 GB, free: 1.887 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.318, allocations: 96.86 kB / 1.527 GB, free: 1.793 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.318, allocations: 59.97 kB / 1.527 GB, free: 1.734 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.008164/1.326, allocations: 7.269 MB / 1.534 GB, free: 10.45 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.2e-07/1.326, allocations: 4 kB / 1.534 GB, free: 10.45 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004073/1.33, allocations: 1.392 MB / 1.535 GB, free: 9.051 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.003672/1.334, allocations: 0.9675 MB / 1.536 GB, free: 8.242 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.6895/2.023, allocations: 26.77 MB / 1.562 GB, free: 220.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/2.023, allocations: 1.656 kB / 1.562 GB, free: 220.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/2.026, allocations: 1.905 MB / 1.564 GB, free: 220.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/2.028, allocations: 444.9 kB / 1.565 GB, free: 220.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/2.043, allocations: 11.3 MB / 1.576 GB, free: 217.7 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003084/2.046, allocations: 3.013 MB / 1.578 GB, free: 216.9 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001786/2.048, allocations: 0.5137 MB / 1.579 GB, free: 216.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/2.048, allocations: 191.7 kB / 1.579 GB, free: 216.9 MB / 1.279 GB Notification: Performance of SimCode: time 8.92e-07/2.048, allocations: 0.7812 kB / 1.579 GB, free: 216.9 MB / 1.279 GB Notification: Performance of Templates: time 0.09642/2.145, allocations: 48.18 MB / 1.626 GB, free: 198.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches