Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008487/0.008487, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001604/0.001604, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7453 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 63.89 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3684, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008412/0.3768, allocations: 6.994 MB / 1.232 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9164/1.293, allocations: 155.6 MB / 1.384 GB, free: 420 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/1.295, allocations: 25.62 kB / 1.384 GB, free: 412 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006711/1.302, allocations: 1.815 MB / 1.386 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003738/1.306, allocations: 0.8786 MB / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/1.309, allocations: 1.039 MB / 1.388 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006061/1.315, allocations: 3.667 MB / 1.392 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/1.319, allocations: 0.9272 MB / 1.393 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/1.322, allocations: 1.176 MB / 1.394 GB, free: 10.34 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/1.325, allocations: 1.07 MB / 1.395 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/1.326, allocations: 199.9 kB / 1.395 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006716/1.333, allocations: 2.245 MB / 1.397 GB, free: 8.488 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002357/1.335, allocations: 1.369 MB / 1.398 GB, free: 7.781 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003285/1.338, allocations: 1.021 MB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/1.349, allocations: 4.028 MB / 1.403 GB, free: 4.387 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.349, allocations: 0 / 1.403 GB, free: 4.387 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.444e-06/1.349, allocations: 0 / 1.403 GB, free: 4.387 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001666/1.35, allocations: 0 / 1.403 GB, free: 4.387 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.009113/1.359, allocations: 2.684 MB / 1.406 GB, free: 2.387 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.359, allocations: 8.938 kB / 1.406 GB, free: 2.387 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/1.36, allocations: 281.4 kB / 1.406 GB, free: 2.242 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/1.365, allocations: 3.026 MB / 1.409 GB, free: 0.75 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.366, allocations: 113.3 kB / 1.409 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004763/1.366, allocations: 150.1 kB / 1.41 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/1.369, allocations: 1.541 MB / 1.411 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.369, allocations: 3.938 kB / 1.411 GB, free: 15.78 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.37, allocations: 52.97 kB / 1.411 GB, free: 15.74 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/1.37, allocations: 31.47 kB / 1.411 GB, free: 15.74 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/1.372, allocations: 1.606 MB / 1.413 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/1.382, allocations: 5.748 MB / 1.418 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/1.384, allocations: 1.44 MB / 1.42 GB, free: 7.242 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.386, allocations: 0.8863 MB / 1.421 GB, free: 6.355 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.14e-05/1.386, allocations: 37.17 kB / 1.421 GB, free: 6.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/1.387, allocations: 0.9537 MB / 1.422 GB, free: 5.352 MB / 1.107 GB Notification: Performance of pre-optimization done (n=104): time 3.506e-06/1.387, allocations: 4 kB / 1.422 GB, free: 5.348 MB / 1.107 GB Notification: Performance of matching and sorting (n=104): time 0.004691/1.392, allocations: 2.677 MB / 1.424 GB, free: 2.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002295/1.392, allocations: 330.5 kB / 1.424 GB, free: 2.289 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007114/1.399, allocations: 4.377 MB / 1.429 GB, free: 13.9 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005035/1.4, allocations: 53.7 kB / 1.429 GB, free: 13.84 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.401, allocations: 0.7136 MB / 1.429 GB, free: 13.12 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007071/1.402, allocations: 361 kB / 1.43 GB, free: 12.76 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/1.404, allocations: 1.084 MB / 1.431 GB, free: 11.67 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.404, allocations: 305.1 kB / 1.431 GB, free: 11.37 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007543/1.412, allocations: 7.039 MB / 1.438 GB, free: 4.328 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008072/1.42, allocations: 7.309 MB / 1.445 GB, free: 13.01 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.43, allocations: 8.995 MB / 1.454 GB, free: 3.969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-05/1.431, allocations: 3.938 kB / 1.454 GB, free: 3.965 MB / 1.139 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02012/1.451, allocations: 15.87 MB / 1.469 GB, free: 4.035 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/1.451, allocations: 151.5 kB / 1.47 GB, free: 3.883 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.451, allocations: 0 / 1.47 GB, free: 3.883 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/1.451, allocations: 8 kB / 1.47 GB, free: 3.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.453, allocations: 323.5 kB / 1.47 GB, free: 3.559 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.814e-05/1.453, allocations: 8 kB / 1.47 GB, free: 3.551 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.455, allocations: 198.6 kB / 1.47 GB, free: 3.355 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/1.455, allocations: 79.95 kB / 1.47 GB, free: 3.277 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001837/1.457, allocations: 0.8487 MB / 1.471 GB, free: 2.41 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/1.458, allocations: 158.9 kB / 1.471 GB, free: 2.254 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/1.462, allocations: 2.38 MB / 1.474 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.462, allocations: 15.92 kB / 1.474 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.462, allocations: 0 / 1.474 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.462, allocations: 7.984 kB / 1.474 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/1.465, allocations: 1.361 MB / 1.475 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.465, allocations: 0 / 1.475 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/1.466, allocations: 159.8 kB / 1.475 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/1.466, allocations: 4 kB / 1.475 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/1.466, allocations: 35.97 kB / 1.475 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/1.466, allocations: 4 kB / 1.475 GB, free: 14.22 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.466, allocations: 4 kB / 1.475 GB, free: 14.22 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/1.47, allocations: 2.257 MB / 1.477 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009491/1.471, allocations: 411.6 kB / 1.478 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004456/1.471, allocations: 28 kB / 1.478 GB, free: 11.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.472, allocations: 71.92 kB / 1.478 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.473, allocations: 80.89 kB / 1.478 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.473, allocations: 51.97 kB / 1.478 GB, free: 11.29 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003487/1.476, allocations: 2.799 MB / 1.481 GB, free: 8.488 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.5e-07/1.476, allocations: 0 / 1.481 GB, free: 8.488 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003544/1.48, allocations: 1.087 MB / 1.482 GB, free: 7.398 MB / 1.17 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003707/1.483, allocations: 0.9733 MB / 1.483 GB, free: 6.605 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.495, allocations: 10.71 MB / 1.493 GB, free: 11.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.495, allocations: 4.125 kB / 1.493 GB, free: 11.88 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/1.498, allocations: 1.528 MB / 1.495 GB, free: 10.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.5, allocations: 354.5 kB / 1.495 GB, free: 10.01 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009505/1.51, allocations: 5.683 MB / 1.5 GB, free: 4.289 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/1.512, allocations: 1.788 MB / 1.502 GB, free: 2.473 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001553/1.513, allocations: 382.8 kB / 1.503 GB, free: 2.094 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/1.514, allocations: 147.4 kB / 1.503 GB, free: 1.949 MB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/1.514, allocations: 0 / 1.503 GB, free: 1.949 MB / 1.186 GB Notification: Performance of Templates: time 0.06686/1.581, allocations: 32.69 MB / 1.535 GB, free: 1.426 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches