Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 65.92 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3485, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009773/0.3583, allocations: 8.203 MB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1807/0.5391, allocations: 159.5 MB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.5414, allocations: 35.81 kB / 1.232 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006192/0.5476, allocations: 1.992 MB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.5524, allocations: 1.283 MB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004164/0.5566, allocations: 1.429 MB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006636/0.5632, allocations: 5.434 MB / 1.242 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.5656, allocations: 1.124 MB / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.569, allocations: 1.672 MB / 1.245 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.572, allocations: 1.495 MB / 1.246 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009496/0.5729, allocations: 276 kB / 1.246 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.5783, allocations: 2.317 MB / 1.249 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.665/1.243, allocations: 2.837 MB / 1.251 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002299/1.246, allocations: 1.4 MB / 1.253 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008304/1.254, allocations: 5.102 MB / 1.258 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.254, allocations: 0 / 1.258 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.254, allocations: 0 / 1.258 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001252/1.254, allocations: 1.781 kB / 1.258 GB, free: 13.24 MB / 0.9981 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.007499/1.262, allocations: 3.39 MB / 1.261 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.262, allocations: 10.5 kB / 1.261 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/1.263, allocations: 359.4 kB / 1.261 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008771/1.272, allocations: 7.406 MB / 1.269 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/1.272, allocations: 142.5 kB / 1.269 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/1.272, allocations: 187 kB / 1.269 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/1.277, allocations: 1.963 MB / 1.271 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.277, allocations: 0.8125 kB / 1.271 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/1.277, allocations: 63.73 kB / 1.271 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/1.277, allocations: 35.28 kB / 1.271 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/1.28, allocations: 1.984 MB / 1.273 GB, free: 10.69 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.01461/1.295, allocations: 10.64 MB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/1.298, allocations: 1.787 MB / 1.285 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/1.299, allocations: 1.083 MB / 1.286 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.495e-05/1.299, allocations: 36.38 kB / 1.286 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/1.301, allocations: 1.196 MB / 1.287 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.555e-06/1.301, allocations: 0 / 1.287 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.00666/1.308, allocations: 3.452 MB / 1.291 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/1.308, allocations: 350.7 kB / 1.291 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01356/1.322, allocations: 11.58 MB / 1.302 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000738/1.322, allocations: 70.55 kB / 1.302 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.324, allocations: 0.9626 MB / 1.303 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005847/1.324, allocations: 409.3 kB / 1.304 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002129/1.326, allocations: 2.673 MB / 1.306 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.415e-05/1.326, allocations: 302.1 kB / 1.307 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01551/1.342, allocations: 20.11 MB / 1.326 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04754/1.389, allocations: 23.48 MB / 1.349 GB, free: 8.602 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02381/1.413, allocations: 23.57 MB / 1.372 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/1.413, allocations: 0 / 1.372 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05002/1.463, allocations: 44.23 MB / 1.415 GB, free: 4.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003508/1.464, allocations: 166.4 kB / 1.416 GB, free: 4.602 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.464, allocations: 4 kB / 1.416 GB, free: 4.598 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/1.464, allocations: 90.39 kB / 1.416 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.467, allocations: 408.6 kB / 1.416 GB, free: 4.137 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/1.469, allocations: 1.641 MB / 1.418 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/1.472, allocations: 241.8 kB / 1.418 GB, free: 2.145 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/1.472, allocations: 110.8 kB / 1.418 GB, free: 2.043 MB / 1.076 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.002216/1.474, allocations: 1.544 MB / 1.419 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005251/1.475, allocations: 209.3 kB / 1.42 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005333/1.48, allocations: 2.948 MB / 1.423 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.48, allocations: 12 kB / 1.423 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.48, allocations: 4.797 kB / 1.423 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.48, allocations: 3.984 kB / 1.423 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/1.483, allocations: 1.791 MB / 1.424 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.483, allocations: 0 / 1.424 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/1.483, allocations: 187 kB / 1.424 GB, free: 11.37 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/1.484, allocations: 71.52 kB / 1.425 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.484, allocations: 38.52 kB / 1.425 GB, free: 11.26 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.486, allocations: 1.659 MB / 1.426 GB, free: 9.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.486, allocations: 3.938 kB / 1.426 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/1.491, allocations: 2.78 MB / 1.429 GB, free: 6.676 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009879/1.492, allocations: 494.7 kB / 1.429 GB, free: 6.172 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/1.492, allocations: 31.94 kB / 1.429 GB, free: 6.141 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009817/1.493, allocations: 78.48 kB / 1.43 GB, free: 6.066 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/1.494, allocations: 93.75 kB / 1.43 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.494, allocations: 67.7 kB / 1.43 GB, free: 5.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007534/1.501, allocations: 7.266 MB / 1.437 GB, free: 14.63 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.8e-07/1.501, allocations: 0 / 1.437 GB, free: 14.63 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005604/1.507, allocations: 1.386 MB / 1.438 GB, free: 13.25 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: 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.003569/1.511, allocations: 0.9522 MB / 1.439 GB, free: 12.6 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02841/1.539, allocations: 27.3 MB / 1.466 GB, free: 1.32 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.539, allocations: 1.031 kB / 1.466 GB, free: 1.32 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003288/1.542, allocations: 1.908 MB / 1.468 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/1.546, allocations: 447.6 kB / 1.468 GB, free: 15 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/1.566, allocations: 11.23 MB / 1.479 GB, free: 3.887 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004828/1.571, allocations: 3 MB / 1.482 GB, free: 0.875 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002303/1.573, allocations: 0.5261 MB / 1.482 GB, free: 360 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/1.573, allocations: 187.4 kB / 1.483 GB, free: 176 kB / 1.139 GB Notification: Performance of SimCode: time 1.062e-06/1.573, allocations: 0 / 1.483 GB, free: 176 kB / 1.139 GB Notification: Performance of Templates: time 0.1026/1.676, allocations: 47.67 MB / 1.529 GB, free: 0.8789 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches