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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007589/0.00759, allocations: 99.58 kB / 15.73 MB, free: 6.02 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.001811/0.001811, allocations: 192.4 kB / 16.67 MB, free: 5.938 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.743/2.743, allocations: 469.4 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.83 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2644, allocations: 159.1 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008028/0.2725, allocations: 7.002 MB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7015/0.9739, allocations: 155.6 MB / 1.379 GB, free: 6.582 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.9752, allocations: 26.06 kB / 1.379 GB, free: 6.574 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.9794, allocations: 1.828 MB / 1.38 GB, free: 5.824 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.9816, allocations: 0.8893 MB / 1.381 GB, free: 5.203 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.9838, allocations: 1.035 MB / 1.382 GB, free: 4.414 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003258/0.9871, allocations: 3.67 MB / 1.386 GB, free: 2.207 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.9883, allocations: 0.9257 MB / 1.387 GB, free: 1.633 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.9898, allocations: 1.196 MB / 1.388 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.991, allocations: 1.07 MB / 1.389 GB, free: 240 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.9913, allocations: 203.5 kB / 1.389 GB, free: 240 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.9954, allocations: 2.238 MB / 1.391 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.9966, allocations: 1.429 MB / 1.393 GB, free: 14.35 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.9983, allocations: 1.503 MB / 1.394 GB, free: 13.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007003/1.005, allocations: 5.707 MB / 1.4 GB, free: 9.68 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.005, allocations: 0 / 1.4 GB, free: 9.68 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.884e-06/1.005, allocations: 0 / 1.4 GB, free: 9.68 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.592e-05/1.005, allocations: 0 / 1.4 GB, free: 9.68 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.007738/1.013, allocations: 4.314 MB / 1.404 GB, free: 6.727 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.013, allocations: 11.22 kB / 1.404 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/1.013, allocations: 182.7 kB / 1.404 GB, free: 6.582 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.015, allocations: 368 kB / 1.404 GB, free: 6.387 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07958/1.094, allocations: 87.76 MB / 1.49 GB, free: 0.875 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/1.094, allocations: 118.4 kB / 1.49 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.095, allocations: 148 kB / 1.49 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/1.097, allocations: 1.538 MB / 1.492 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.097, allocations: 3.984 kB / 1.492 GB, free: 15.01 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.097, allocations: 56 kB / 1.492 GB, free: 14.96 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/1.097, allocations: 28 kB / 1.492 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/1.1, allocations: 1.613 MB / 1.494 GB, free: 13.31 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02173/1.121, allocations: 24.04 MB / 1.517 GB, free: 5.094 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/1.124, allocations: 1.438 MB / 1.518 GB, free: 3.648 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/1.125, allocations: 0.8868 MB / 1.519 GB, free: 2.762 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/1.125, allocations: 37.02 kB / 1.519 GB, free: 2.727 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/1.126, allocations: 0.946 MB / 1.52 GB, free: 1.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=104): time 3.487e-06/1.126, allocations: 0 / 1.52 GB, free: 1.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=104): time 0.004903/1.131, allocations: 2.768 MB / 1.523 GB, free: 14.99 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/1.132, allocations: 330.3 kB / 1.523 GB, free: 14.62 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1036/1.235, allocations: 99.7 MB / 1.621 GB, free: 10.89 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0004409/1.236, allocations: 57.7 kB / 1.621 GB, free: 10.83 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.237, allocations: 1.11 MB / 1.622 GB, free: 9.711 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/1.238, allocations: 358.3 kB / 1.622 GB, free: 9.359 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007998/1.238, allocations: 355.5 kB / 1.623 GB, free: 9.008 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/1.239, allocations: 301.1 kB / 1.623 GB, free: 8.711 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/1.24, allocations: 1.191 MB / 1.624 GB, free: 7.52 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/1.242, allocations: 1.42 MB / 1.625 GB, free: 6.039 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/1.246, allocations: 2.59 MB / 1.628 GB, free: 3.398 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/1.246, allocations: 0 / 1.628 GB, free: 3.398 MB / 1.311 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005408/1.251, allocations: 3.224 MB / 1.631 GB, free: 160 kB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/1.251, allocations: 154 kB / 1.631 GB, free: 0 / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.251, allocations: 4.047 kB / 1.631 GB, free: 15.99 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.251, allocations: 12 kB / 1.631 GB, free: 15.98 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.253, allocations: 311.4 kB / 1.631 GB, free: 15.68 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/1.253, allocations: 8 kB / 1.631 GB, free: 15.67 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.255, allocations: 332.2 kB / 1.632 GB, free: 15.35 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.255, allocations: 71.91 kB / 1.632 GB, free: 15.28 MB / 1.326 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.001555/1.256, allocations: 1.047 MB / 1.633 GB, free: 14.21 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009389/1.257, allocations: 250.3 kB / 1.633 GB, free: 13.97 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/1.261, allocations: 2.517 MB / 1.636 GB, free: 11.44 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.261, allocations: 11.94 kB / 1.636 GB, free: 11.43 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.261, allocations: 4 kB / 1.636 GB, free: 11.43 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/1.261, allocations: 7.984 kB / 1.636 GB, free: 11.42 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/1.264, allocations: 2.025 MB / 1.638 GB, free: 9.344 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.264, allocations: 0 / 1.638 GB, free: 9.344 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/1.265, allocations: 163.8 kB / 1.638 GB, free: 9.184 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.265, allocations: 4 kB / 1.638 GB, free: 9.18 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/1.265, allocations: 31.98 kB / 1.638 GB, free: 9.148 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/1.265, allocations: 11.92 kB / 1.638 GB, free: 9.137 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.265, allocations: 0 / 1.638 GB, free: 9.137 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/1.269, allocations: 2.352 MB / 1.64 GB, free: 6.754 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.27, allocations: 0.8072 MB / 1.641 GB, free: 5.926 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000577/1.271, allocations: 31.95 kB / 1.641 GB, free: 5.895 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.272, allocations: 187.9 kB / 1.641 GB, free: 5.711 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.273, allocations: 84.89 kB / 1.641 GB, free: 5.629 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.273, allocations: 51.97 kB / 1.641 GB, free: 5.578 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.06687/1.34, allocations: 79.56 MB / 1.719 GB, free: 5.988 MB / 1.404 GB Notification: Performance of sort global known variables: time 6.81e-07/1.34, allocations: 0 / 1.719 GB, free: 5.988 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.003024/1.343, allocations: 1.088 MB / 1.72 GB, free: 4.898 MB / 1.404 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.005658/1.348, allocations: 3.759 MB / 1.724 GB, free: 1.289 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.003819/1.352, allocations: 3.548 MB / 1.727 GB, free: 13.73 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.352, allocations: 4 kB / 1.727 GB, free: 13.73 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.354, allocations: 1.524 MB / 1.729 GB, free: 12.2 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/1.355, allocations: 424.3 kB / 1.729 GB, free: 11.79 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7876/2.143, allocations: 412.8 MB / 2.132 GB, free: 264.9 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/2.144, allocations: 1.78 MB / 2.134 GB, free: 263.1 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002016/2.146, allocations: 0.7753 MB / 2.135 GB, free: 262.5 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/2.148, allocations: 1.144 MB / 2.136 GB, free: 261.3 MB / 1.498 GB Notification: Performance of SimCode: time 1.112e-06/2.148, allocations: 0 / 2.136 GB, free: 261.3 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.048/3.196, allocations: 112.2 MB / 2.245 GB, free: 150.3 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/15.91, allocations: 7.938 kB / 2.245 GB, free: 150.3 MB / 1.498 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 50 --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