Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_10_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.006828/0.006828, allocations: 102.2 kB / 15.73 MB, free: 6.449 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.00161/0.00161, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.5/2.5, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2494, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008528/0.258, allocations: 7.031 MB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7109/0.9688, allocations: 155.6 MB / 1.325 GB, free: 6.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.9702, allocations: 26.56 kB / 1.325 GB, free: 6.539 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005368/0.9756, allocations: 1.828 MB / 1.327 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.9785, allocations: 0.894 MB / 1.328 GB, free: 5.664 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.9813, allocations: 1.028 MB / 1.329 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004655/0.986, allocations: 3.67 MB / 1.332 GB, free: 3.535 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.9875, allocations: 0.9285 MB / 1.333 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.9897, allocations: 1.192 MB / 1.334 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.9918, allocations: 1.066 MB / 1.335 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007715/0.9926, allocations: 199.4 kB / 1.336 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005112/0.9977, allocations: 2.246 MB / 1.338 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.9996, allocations: 1.425 MB / 1.339 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002972/1.003, allocations: 1.507 MB / 1.341 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008881/1.011, allocations: 5.708 MB / 1.346 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.011, allocations: 1.688 kB / 1.346 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/1.011, allocations: 0 / 1.346 GB, free: 14.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001551/1.012, allocations: 4 kB / 1.346 GB, free: 14.11 MB / 1.029 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.01347/1.025, allocations: 4.317 MB / 1.35 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.025, allocations: 9.625 kB / 1.35 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004342/1.026, allocations: 188.1 kB / 1.351 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/1.028, allocations: 359.5 kB / 1.351 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08707/1.115, allocations: 87.77 MB / 1.437 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/1.115, allocations: 118 kB / 1.437 GB, free: 15.76 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/1.116, allocations: 151.9 kB / 1.437 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/1.118, allocations: 1.538 MB / 1.438 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/1.118, allocations: 4 kB / 1.438 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/1.118, allocations: 48 kB / 1.438 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.119, allocations: 32 kB / 1.438 GB, free: 13.93 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/1.121, allocations: 1.609 MB / 1.44 GB, free: 12.31 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/1.144, allocations: 24.05 MB / 1.464 GB, free: 4.098 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/1.146, allocations: 1.438 MB / 1.465 GB, free: 2.66 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/1.147, allocations: 0.8868 MB / 1.466 GB, free: 1.773 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.189e-05/1.147, allocations: 37.17 kB / 1.466 GB, free: 1.734 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.149, allocations: 0.9538 MB / 1.467 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/1.149, allocations: 0 / 1.467 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of matching and sorting (n=104): time 0.004913/1.153, allocations: 2.766 MB / 1.469 GB, free: 13.99 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/1.154, allocations: 332.2 kB / 1.47 GB, free: 13.62 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1029/1.257, allocations: 99.68 MB / 1.567 GB, free: 9.902 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004409/1.257, allocations: 61.7 kB / 1.567 GB, free: 9.836 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/1.258, allocations: 1.106 MB / 1.568 GB, free: 8.723 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/1.259, allocations: 353 kB / 1.569 GB, free: 8.375 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006759/1.26, allocations: 363.5 kB / 1.569 GB, free: 8.016 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/1.26, allocations: 305.1 kB / 1.569 GB, free: 7.715 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/1.261, allocations: 1.195 MB / 1.57 GB, free: 6.52 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.263, allocations: 1.42 MB / 1.572 GB, free: 5.039 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/1.266, allocations: 2.594 MB / 1.574 GB, free: 2.395 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.266, allocations: 0 / 1.574 GB, free: 2.395 MB / 1.232 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005158/1.272, allocations: 3.221 MB / 1.577 GB, free: 15.16 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/1.272, allocations: 151.5 kB / 1.578 GB, free: 15 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.272, allocations: 4 kB / 1.578 GB, free: 15 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.272, allocations: 8 kB / 1.578 GB, free: 14.99 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.273, allocations: 311.9 kB / 1.578 GB, free: 14.69 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.273, allocations: 12 kB / 1.578 GB, free: 14.68 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.275, allocations: 338.4 kB / 1.578 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.275, allocations: 71.91 kB / 1.578 GB, free: 14.27 MB / 1.248 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.001518/1.277, allocations: 1.04 MB / 1.579 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009889/1.278, allocations: 250.3 kB / 1.58 GB, free: 12.97 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/1.282, allocations: 2.529 MB / 1.582 GB, free: 10.42 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.282, allocations: 12 kB / 1.582 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.282, allocations: 0 / 1.582 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.282, allocations: 3.984 kB / 1.582 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/1.284, allocations: 2.017 MB / 1.584 GB, free: 8.34 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.284, allocations: 0 / 1.584 GB, free: 8.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/1.285, allocations: 163.8 kB / 1.584 GB, free: 8.18 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.285, allocations: 4 kB / 1.584 GB, free: 8.176 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.858e-05/1.285, allocations: 35.97 kB / 1.584 GB, free: 8.141 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.285, allocations: 4 kB / 1.584 GB, free: 8.137 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.285, allocations: 0 / 1.584 GB, free: 8.137 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/1.289, allocations: 2.34 MB / 1.587 GB, free: 5.766 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.29, allocations: 0.8228 MB / 1.587 GB, free: 4.922 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/1.291, allocations: 24 kB / 1.587 GB, free: 4.898 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.292, allocations: 183.9 kB / 1.588 GB, free: 4.719 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.292, allocations: 84.88 kB / 1.588 GB, free: 4.637 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.293, allocations: 51.97 kB / 1.588 GB, free: 4.586 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.06715/1.36, allocations: 79.55 MB / 1.665 GB, free: 5.008 MB / 1.326 GB Notification: Performance of sort global known variables: time 2.81e-07/1.36, allocations: 4 kB / 1.665 GB, free: 5.004 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003625/1.363, allocations: 1.099 MB / 1.666 GB, free: 3.902 MB / 1.326 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.007246/1.371, allocations: 3.772 MB / 1.67 GB, free: 288 kB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004219/1.375, allocations: 3.544 MB / 1.674 GB, free: 12.73 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.375, allocations: 0 / 1.674 GB, free: 12.73 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.377, allocations: 1.528 MB / 1.675 GB, free: 11.19 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.379, allocations: 420.7 kB / 1.675 GB, free: 10.8 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8464/2.225, allocations: 412.8 MB / 2.079 GB, free: 321.3 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/2.226, allocations: 1.782 MB / 2.08 GB, free: 319.5 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.00212/2.229, allocations: 0.775 MB / 2.081 GB, free: 318.8 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/2.23, allocations: 1.147 MB / 2.082 GB, free: 317.6 MB / 1.467 GB Notification: Performance of SimCode: time 9.72e-07/2.23, allocations: 0 / 2.082 GB, free: 317.6 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1953/2.425, allocations: 112.3 MB / 2.192 GB, free: 206.5 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/14.83, allocations: 3.953 kB / 2.192 GB, free: 206.5 MB / 1.467 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches