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.001693/0.001693, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002504/0.002504, allocations: 194.1 kB / 16.26 MB, free: 6.152 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.568/1.568, allocations: 222.9 MB / 239.9 MB, free: 4.406 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.745/2.745, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 72.08 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7039/0.7061, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01253/0.7187, allocations: 8.178 MB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2143/0.933, allocations: 157.2 MB / 1.178 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.9357, allocations: 31.81 kB / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006503/0.9423, allocations: 1.822 MB / 1.18 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.947, allocations: 1.186 MB / 1.181 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.9512, allocations: 1.296 MB / 1.183 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007587/0.9588, allocations: 5.442 MB / 1.188 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.961, allocations: 1.12 MB / 1.189 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/0.9646, allocations: 1.749 MB / 1.191 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.9677, allocations: 1.53 MB / 1.192 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.9689, allocations: 276 kB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005887/0.9748, allocations: 2.333 MB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.9785, allocations: 2.84 MB / 1.198 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003325/0.9818, allocations: 1.411 MB / 1.199 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.9919, allocations: 5.107 MB / 1.204 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9919, allocations: 0 / 1.204 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.343e-06/0.992, allocations: 0 / 1.204 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.664e-05/0.992, allocations: 0 / 1.204 GB, free: 2.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.007613/0.9997, allocations: 3.393 MB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.9997, allocations: 8.031 kB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/1.001, allocations: 353.3 kB / 1.208 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/1.012, allocations: 7.417 MB / 1.215 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/1.012, allocations: 142.9 kB / 1.215 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/1.012, allocations: 188 kB / 1.215 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/1.016, allocations: 1.956 MB / 1.217 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.016, allocations: 0 / 1.217 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/1.016, allocations: 64 kB / 1.217 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/1.016, allocations: 36 kB / 1.217 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/1.02, allocations: 1.986 MB / 1.219 GB, free: 2.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.01664/1.036, allocations: 10.63 MB / 1.229 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/1.04, allocations: 1.794 MB / 1.231 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/1.041, allocations: 1.087 MB / 1.232 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.72e-05/1.041, allocations: 29.11 kB / 1.232 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001911/1.043, allocations: 1.207 MB / 1.233 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=117): time 3.366e-06/1.043, allocations: 0 / 1.233 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=117): time 0.007201/1.05, allocations: 3.451 MB / 1.237 GB, free: 316 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003027/1.051, allocations: 346.5 kB / 1.237 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01616/1.067, allocations: 11.59 MB / 1.248 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005257/1.067, allocations: 65.7 kB / 1.249 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/1.069, allocations: 0.9646 MB / 1.249 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006568/1.069, allocations: 394.5 kB / 1.25 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002866/1.072, allocations: 2.676 MB / 1.252 GB, free: 172 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.618/1.69, allocations: 305.6 kB / 1.253 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02338/1.714, allocations: 20.11 MB / 1.272 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01615/1.73, allocations: 20.7 MB / 1.293 GB, free: 206.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/1.748, allocations: 23.57 MB / 1.316 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.677e-05/1.748, allocations: 1.156 kB / 1.316 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.03434/1.782, allocations: 44.22 MB / 1.359 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002629/1.783, allocations: 165.6 kB / 1.359 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/1.783, allocations: 4 kB / 1.359 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/1.783, allocations: 92.31 kB / 1.359 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/1.785, allocations: 407.4 kB / 1.359 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/1.787, allocations: 1.644 MB / 1.361 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.79, allocations: 250.7 kB / 1.361 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/1.79, allocations: 111.6 kB / 1.361 GB, free: 138.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.001821/1.792, allocations: 1.544 MB / 1.363 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/1.792, allocations: 207.3 kB / 1.363 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/1.797, allocations: 2.951 MB / 1.366 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.797, allocations: 12 kB / 1.366 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.797, allocations: 0 / 1.366 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.797, allocations: 7.734 kB / 1.366 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.799, allocations: 1.786 MB / 1.368 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.799, allocations: 0 / 1.368 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/1.8, allocations: 187.7 kB / 1.368 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/1.8, allocations: 71.5 kB / 1.368 GB, free: 131.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.8, allocations: 47.91 kB / 1.368 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.802, allocations: 1.666 MB / 1.37 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.802, allocations: 0 / 1.37 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/1.806, allocations: 2.768 MB / 1.372 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009534/1.807, allocations: 498.8 kB / 1.373 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/1.807, allocations: 31.94 kB / 1.373 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/1.808, allocations: 83.86 kB / 1.373 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/1.808, allocations: 100.9 kB / 1.373 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.809, allocations: 63.48 kB / 1.373 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004815/1.813, allocations: 7.265 MB / 1.38 GB, free: 119 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.3e-07/1.813, allocations: 4 kB / 1.38 GB, free: 119 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003925/1.817, allocations: 1.378 MB / 1.382 GB, free: 117.7 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.00324/1.821, allocations: 0.9516 MB / 1.382 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02042/1.841, allocations: 27.31 MB / 1.409 GB, free: 89.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.841, allocations: 4.75 kB / 1.409 GB, free: 89.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.844, allocations: 1.898 MB / 1.411 GB, free: 87.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/1.846, allocations: 442.9 kB / 1.411 GB, free: 87.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/1.861, allocations: 12.51 MB / 1.424 GB, free: 74.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/1.863, allocations: 3.004 MB / 1.427 GB, free: 71.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001727/1.865, allocations: 0.5185 MB / 1.427 GB, free: 71.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.865, allocations: 191.4 kB / 1.427 GB, free: 71.11 MB / 0.9981 GB Notification: Performance of SimCode: time 1.463e-06/1.865, allocations: 0 / 1.427 GB, free: 71.11 MB / 0.9981 GB Notification: Performance of Templates: time 0.09211/1.957, allocations: 47.54 MB / 1.474 GB, free: 23.85 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=400 -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