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.001491/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001887/0.001887, allocations: 188.3 kB / 16.13 MB, free: 6.645 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 / 239.8 MB, free: 4.566 MB / 190.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.575/2.575, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.802, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009113/0.8111, allocations: 8.189 MB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1792/0.9903, allocations: 157.5 MB / 1.178 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.9932, allocations: 27.81 kB / 1.178 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006106/0.9994, allocations: 1.818 MB / 1.18 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004587/1.004, allocations: 1.163 MB / 1.181 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004135/1.008, allocations: 1.257 MB / 1.183 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006672/1.015, allocations: 5.41 MB / 1.188 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/1.017, allocations: 1.091 MB / 1.189 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/1.02, allocations: 1.436 MB / 1.19 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/1.022, allocations: 1.44 MB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004195/1.022, allocations: 132 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/1.028, allocations: 2.083 MB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002946/1.031, allocations: 2.699 MB / 1.197 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002446/1.034, allocations: 1.251 MB / 1.198 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009243/1.043, allocations: 4.982 MB / 1.203 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/1.043, allocations: 0 / 1.203 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.034e-06/1.043, allocations: 0 / 1.203 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.537e-05/1.043, allocations: 0 / 1.203 GB, free: 3.57 MB / 0.9512 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.006825/1.05, allocations: 3.4 MB / 1.206 GB, free: 100 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.05, allocations: 8.031 kB / 1.206 GB, free: 92 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/1.051, allocations: 353.3 kB / 1.206 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008202/1.059, allocations: 7.417 MB / 1.214 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/1.06, allocations: 130.9 kB / 1.214 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/1.06, allocations: 192 kB / 1.214 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/1.063, allocations: 1.962 MB / 1.216 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.063, allocations: 0 / 1.216 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/1.063, allocations: 68 kB / 1.216 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/1.063, allocations: 36 kB / 1.216 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/1.066, allocations: 1.978 MB / 1.218 GB, free: 3.809 MB / 0.9669 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.0195/1.086, allocations: 10.63 MB / 1.228 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/1.09, allocations: 1.791 MB / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/1.092, allocations: 1.089 MB / 1.231 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/1.092, allocations: 37.09 kB / 1.231 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002317/1.095, allocations: 1.203 MB / 1.232 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=117): time 2.875e-06/1.095, allocations: 0 / 1.232 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=117): time 0.00679/1.101, allocations: 3.463 MB / 1.236 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000286/1.102, allocations: 342.5 kB / 1.236 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02098/1.123, allocations: 11.58 MB / 1.247 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007375/1.123, allocations: 65.7 kB / 1.247 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.125, allocations: 0.9606 MB / 1.248 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007914/1.126, allocations: 398.5 kB / 1.249 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003218/1.129, allocations: 2.68 MB / 1.251 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.129, allocations: 305.1 kB / 1.252 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7035/1.833, allocations: 20.11 MB / 1.271 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01647/1.849, allocations: 20.69 MB / 1.291 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/1.867, allocations: 23.57 MB / 1.314 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/1.868, allocations: 0 / 1.314 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.03381/1.901, allocations: 44.23 MB / 1.358 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002744/1.902, allocations: 165.6 kB / 1.358 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/1.902, allocations: 4.688 kB / 1.358 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/1.902, allocations: 93.64 kB / 1.358 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.904, allocations: 411.4 kB / 1.358 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/1.906, allocations: 1.535 MB / 1.36 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.909, allocations: 243.4 kB / 1.36 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/1.909, allocations: 107.5 kB / 1.36 GB, free: 139.3 MB / 0.9981 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.001906/1.911, allocations: 1.541 MB / 1.362 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/1.911, allocations: 218.4 kB / 1.362 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/1.915, allocations: 2.941 MB / 1.365 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.915, allocations: 13.06 kB / 1.365 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.915, allocations: 0 / 1.365 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.916, allocations: 3.984 kB / 1.365 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/1.918, allocations: 1.798 MB / 1.366 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.918, allocations: 0 / 1.366 GB, free: 133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/1.918, allocations: 182.3 kB / 1.367 GB, free: 132.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/1.919, allocations: 81.64 kB / 1.367 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/1.919, allocations: 42.69 kB / 1.367 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.921, allocations: 1.55 MB / 1.368 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.921, allocations: 3.938 kB / 1.368 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/1.924, allocations: 2.771 MB / 1.371 GB, free: 128.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/1.925, allocations: 497.9 kB / 1.371 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/1.925, allocations: 31.98 kB / 1.371 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/1.926, allocations: 85.3 kB / 1.371 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/1.927, allocations: 96.86 kB / 1.372 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.927, allocations: 62.48 kB / 1.372 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004542/1.931, allocations: 7.265 MB / 1.379 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.931, allocations: 0 / 1.379 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003157/1.934, allocations: 1.378 MB / 1.38 GB, free: 118.9 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: 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.002165/1.937, allocations: 0.949 MB / 1.381 GB, free: 118.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01746/1.954, allocations: 26.77 MB / 1.407 GB, free: 91.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/1.954, allocations: 0 / 1.407 GB, free: 91.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.956, allocations: 1.902 MB / 1.409 GB, free: 89.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.958, allocations: 424.4 kB / 1.409 GB, free: 89.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.971, allocations: 12.51 MB / 1.422 GB, free: 76.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/1.973, allocations: 3.01 MB / 1.425 GB, free: 73.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00174/1.975, allocations: 0.5185 MB / 1.425 GB, free: 72.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/1.976, allocations: 195.4 kB / 1.425 GB, free: 72.78 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.976, allocations: 0 / 1.425 GB, free: 72.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.0815/2.057, allocations: 46.45 MB / 1.471 GB, free: 26.59 MB / 0.9981 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 -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/jenkins/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