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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007241/0.007241, allocations: 98.31 kB / 15.73 MB, free: 6.492 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.002065/0.002064, allocations: 201 kB / 16.68 MB, free: 6.375 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2771, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008984/0.2862, allocations: 7.008 MB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6679/0.9541, allocations: 155.6 MB / 1.4 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.9552, allocations: 25.88 kB / 1.4 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.9598, allocations: 1.816 MB / 1.402 GB, free: 11.3 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.9624, allocations: 0.8713 MB / 1.403 GB, free: 10.64 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.9651, allocations: 1.032 MB / 1.404 GB, free: 9.852 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003991/0.9691, allocations: 3.667 MB / 1.407 GB, free: 7.641 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.9704, allocations: 0.918 MB / 1.408 GB, free: 7.066 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.9719, allocations: 1.188 MB / 1.41 GB, free: 6.387 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.9732, allocations: 1.066 MB / 1.411 GB, free: 5.676 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.9735, allocations: 200 kB / 1.411 GB, free: 5.676 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.9769, allocations: 2.249 MB / 1.413 GB, free: 4.535 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.9781, allocations: 1.426 MB / 1.414 GB, free: 3.785 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.9796, allocations: 1.507 MB / 1.416 GB, free: 2.684 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.9852, allocations: 5.706 MB / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.9852, allocations: 0 / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9852, allocations: 0 / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.864e-05/0.9853, allocations: 0.9375 kB / 1.421 GB, free: 15.11 MB / 1.123 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.007101/0.9924, allocations: 4.312 MB / 1.426 GB, free: 11.09 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.9924, allocations: 12.03 kB / 1.426 GB, free: 11.07 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002324/0.9927, allocations: 187.3 kB / 1.426 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.9938, allocations: 362.8 kB / 1.426 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09151/1.085, allocations: 87.77 MB / 1.512 GB, free: 2.664 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.085, allocations: 110.4 kB / 1.512 GB, free: 2.555 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/1.086, allocations: 156 kB / 1.512 GB, free: 2.402 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/1.088, allocations: 1.534 MB / 1.514 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/1.088, allocations: 0 / 1.514 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.089, allocations: 55.98 kB / 1.514 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/1.089, allocations: 32 kB / 1.514 GB, free: 0.7227 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/1.091, allocations: 1.605 MB / 1.515 GB, free: 15.11 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02393/1.115, allocations: 24.05 MB / 1.539 GB, free: 6.883 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/1.118, allocations: 1.446 MB / 1.54 GB, free: 5.434 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/1.119, allocations: 0.8862 MB / 1.541 GB, free: 4.543 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-05/1.119, allocations: 41.02 kB / 1.541 GB, free: 4.508 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/1.121, allocations: 0.9576 MB / 1.542 GB, free: 3.539 MB / 1.232 GB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/1.121, allocations: 0 / 1.542 GB, free: 3.539 MB / 1.232 GB Notification: Performance of matching and sorting (n=104): time 0.004904/1.125, allocations: 2.766 MB / 1.545 GB, free: 0.7578 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002497/1.126, allocations: 336.2 kB / 1.545 GB, free: 392 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.117/1.243, allocations: 99.68 MB / 1.642 GB, free: 12.67 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/1.243, allocations: 61.64 kB / 1.642 GB, free: 12.6 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.244, allocations: 1.11 MB / 1.644 GB, free: 11.48 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.000419/1.245, allocations: 357 kB / 1.644 GB, free: 11.13 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00065/1.245, allocations: 355.5 kB / 1.644 GB, free: 10.78 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.246, allocations: 301.1 kB / 1.644 GB, free: 10.48 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/1.247, allocations: 1.199 MB / 1.646 GB, free: 9.285 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/1.25, allocations: 1.42 MB / 1.647 GB, free: 7.805 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/1.253, allocations: 2.586 MB / 1.65 GB, free: 5.168 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.253, allocations: 0 / 1.65 GB, free: 5.168 MB / 1.342 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005351/1.259, allocations: 3.225 MB / 1.653 GB, free: 1.926 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.259, allocations: 157.6 kB / 1.653 GB, free: 1.766 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.259, allocations: 0 / 1.653 GB, free: 1.766 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/1.259, allocations: 12 kB / 1.653 GB, free: 1.754 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.26, allocations: 303.5 kB / 1.653 GB, free: 1.457 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/1.26, allocations: 12 kB / 1.653 GB, free: 1.445 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.262, allocations: 335.6 kB / 1.654 GB, free: 1.117 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.262, allocations: 71.97 kB / 1.654 GB, free: 1.047 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 (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 (182): * Single equations (assignments): 181 * Array equations: 0 * 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.001406/1.263, allocations: 1.04 MB / 1.655 GB, free: 15.98 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/1.264, allocations: 250.3 kB / 1.655 GB, free: 15.74 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/1.268, allocations: 2.53 MB / 1.657 GB, free: 13.19 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.268, allocations: 8 kB / 1.657 GB, free: 13.18 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.268, allocations: 0 / 1.657 GB, free: 13.18 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.268, allocations: 3.984 kB / 1.657 GB, free: 13.18 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/1.271, allocations: 2.021 MB / 1.659 GB, free: 11.11 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.271, allocations: 0 / 1.659 GB, free: 11.11 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/1.272, allocations: 163.8 kB / 1.659 GB, free: 10.95 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.272, allocations: 4 kB / 1.659 GB, free: 10.95 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/1.272, allocations: 31.97 kB / 1.659 GB, free: 10.92 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.272, allocations: 8 kB / 1.659 GB, free: 10.91 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.272, allocations: 8 kB / 1.659 GB, free: 10.9 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/1.276, allocations: 2.344 MB / 1.662 GB, free: 8.527 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.277, allocations: 0.8111 MB / 1.663 GB, free: 7.695 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/1.277, allocations: 24 kB / 1.663 GB, free: 7.672 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.279, allocations: 187.9 kB / 1.663 GB, free: 7.488 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/1.279, allocations: 92.81 kB / 1.663 GB, free: 7.398 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.279, allocations: 59.89 kB / 1.663 GB, free: 7.34 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.07892/1.358, allocations: 79.55 MB / 1.741 GB, free: 7.758 MB / 1.436 GB Notification: Performance of sort global known variables: time 2.71e-07/1.358, allocations: 0 / 1.741 GB, free: 7.758 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.002641/1.36, allocations: 1.091 MB / 1.742 GB, free: 6.664 MB / 1.436 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.007643/1.368, allocations: 3.764 MB / 1.745 GB, free: 3.059 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.004701/1.373, allocations: 3.54 MB / 1.749 GB, free: 15.51 MB / 1.451 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.373, allocations: 0 / 1.749 GB, free: 15.51 MB / 1.451 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/1.375, allocations: 1.529 MB / 1.75 GB, free: 13.96 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.377, allocations: 411.4 kB / 1.751 GB, free: 13.58 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.781/2.158, allocations: 412.8 MB / 2.154 GB, free: 248.5 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/2.159, allocations: 1.784 MB / 2.156 GB, free: 246.7 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.0015/2.16, allocations: 0.772 MB / 2.156 GB, free: 246 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/2.162, allocations: 1.136 MB / 2.157 GB, free: 244.9 MB / 1.514 GB Notification: Performance of SimCode: time 5.01e-07/2.162, allocations: 3.688 kB / 2.157 GB, free: 244.9 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1954/2.357, allocations: 112.2 MB / 2.267 GB, free: 133.8 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/14.95, allocations: 6.875 kB / 2.267 GB, free: 133.8 MB / 1.514 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/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